W3C libwww LibGuide

Thread Modules

From version 3.0 (unreleased) of the W3C Sample Code Library, support for libwww threads and other thread models has been implemented multi threaded functionality has been added as an extra set of modules. For the moment, only the HTTP module can take full advantage of libwww threads but both FTP and Gopher are foreseen for the same functionality. The modules included are:

Net Manager

The HTNet module registers sockets as ready for read or write (this includes the connect statement that is basically a write request). It is an internal module to the Library.

Internal Event Loop

The HTEvent module is the Library's own version of the event-loop serving the HTTP client, and it is the application interface to the multi threaded Library. Clients can either use this module as is or they can overwrite it with their own even-loop. Note, that GUI-clients can use the current implementation!

The module is now ported to Windows NT thanks to Charlie Brooks


Henrik Frystyk, libwww@w3.org, @(#) $Id: Threads.html,v 1.14 1997/02/16 18:41:35 frystyk Exp $