- From: Henrik Frystyk Nielsen <frystyk@w3.org>
- Date: Mon, 23 Mar 1998 11:23:40 -0500
- To: kvedati@Rational.Com, www-lib@w3.org
At 11:04 3/21/98 -0500, Krishna Vedati wrote: > >There are so many static variable strewn around many files in libwww ( HTNet.c >HTHost.c., etc.) Are the functions in libwww re-entrant and thread safe? What >happens if two threads are trying to manipulate the same host object's request >pipeline? did anybody use libwww in a multi-threaded application? libwww uses its own funny threads based on non-blocking sockets. It isn't thread safe although most of the functions are reentrant. It would be a very nice task to integrate a locking model into libwww like for example what comes with pthreads. It's really only in the core classes HTHost, HTDNS, etc. that it is needed. Anyone up for the task? Henrik -- Henrik Frystyk Nielsen, World Wide Web Consortium http://www.w3.org/People/Frystyk
Received on Monday, 23 March 1998 11:24:03 UTC