commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <>
Subject Re: Is commons Net thread safe?
Date Thu, 01 Jul 2004 17:28:16 GMT

In message <>, "Farooque Khan" writes:
>I am particularly interested in telnet component.

Assuming you're talking about the TelnetClient class; there is no
mutable state shared between TelnetClient instances.  Therefore separate
instances can be safely used in separate threads without creating an
unexpected state.  If you wish to concurrently call methods of a single
TelnetClient instance from separate threads, you will need to protect access
to the instance with a critical section.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message