Why not have a single thread responsible for doing that and then just 
have the TTimers use PostThreadMessage to request the update?

Markus Humm wrote:
> Hello,
> regarding my question from last weekend only a part was answered so far.
> The thing is now: if several TTimers get fired at the same time and all 
> of them want to write into a shared TStringList-Type buffer (okay, it's 
> in a wrapper class), how to make sure only one at a time gets acces and 
> doesn't mess up the thing? because the critical section will only guard 
> this against the thread which reads out the entries and afterwards 
> deletes them.
> So what to do here?
> Greetings
> Markus

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to