----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, September 02, 2005 12:30 PM
Subject: Re: [twsocket] NO_ADV_MT symbol


>> > IMO it is better design to have all access to a given
>> > component from only one thread. And in that case, you can
>> > define NO_ADV_MT to have better performances because you
>> > avoid using a critical section.
>>
>> Thank you, this answers my questions.
>>
>> I use 2 servers and some clients in same exe, but seperate threads. 
>> Atually
>> all is controlled from main, but only by posting messages, so no threads 
>> or
>> components in them is touched from outside the thread. And no
>> sockets/components is switched from one thread to another.
>>
>> I will then define the NO_ADV_MT and I will get improved performance?
>
> You should. Improvement will be significant if you have a slow processor 
> and a fast network. It will
> be neglectible if you have a fast processor and slow network.
>

negligible :) 

-- 
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