Hello Adrian,

Yes, ICS does not create threads. If you have bloking code then you can
eventually execute it in a thread, but for the communication it is not
needed.

---
Rgds, Wilfried
http://www.mestdagh.biz

Tuesday, September 13, 2005, 00:57, adrian spinetta wrote:

> are you sure? if 10 user at the same time press intro, fired
> ongetdocument and using a Tdatabase-Tquery only one of them is
> processing?
> What about Tsession,unique name, is that way?
 
>     thanks a lot.


> Guillaume MAISON <[EMAIL PROTECTED]> escribió:
> adrian spinetta a écrit :
>> I am making a complete webserver dinamic using the examples of 
>> createvirtualdoc.
>> is it ok using criticalsection inside ongetdocument to block access of a 
>> Tquery?
>> 

> Hello,

> You have no need to use criticalsection as ICS is not thread based.

> Only one onGetdocument event is fired at a time, so only one 'http 
> query' will access the TQuery Object at a time.

> HTH,

> Best regards,

> -- 

> Guillaume MAISON - [EMAIL PROTECTED]
> 83, Cours Victor Hugo
> 47000 AGEN
> Tél : 05 53 87 91 48 - Fax : 05 53 68 73 50
> e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com

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

> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
> Regístrate ya - http://correo.espanol.yahoo.com/ 

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