Re: [twsocket] thread safety and async operation

2011-08-17 Thread Zvone
Basically you answered what I needed to know. As long as no ProcessMessages is called it is safe to use in non-thread safe environment with single thread. Thanks for the answer. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/l

Re: [twsocket] thread safety and async operation

2011-08-16 Thread Francois PIETTE
Is ICS safe for using in non-thread safe programs? Yes of course. i.e. is this scenario safe: - single thread program writes to a disk file - ICS is used to fetch something and written as buffer to the same disk file and not corrupting previous wrte - main thread is never interrupted by ICS

[twsocket] thread safety and async operation

2011-08-16 Thread Zvone
Is ICS safe for using in non-thread safe programs? i.e. is this scenario safe: - single thread program writes to a disk file - ICS is used to fetch something and written as buffer to the same disk file and not corrupting previous wrte - main thread is never interrupted by ICS events. i.e. ICS eve