W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2002

Re: using threads in libwww

From: Richard Atterer <libwww@list02.atterer.net>
Date: Thu, 10 Oct 2002 19:30:54 +0200
To: www-lib@w3.org
Message-ID: <20021010173054.GA12717@nenya.lan>

On Thu, Oct 10, 2002 at 05:13:19PM +0200, christophe.pierret@businessobjects.com wrote:
> In a GUI environment, I would have used the
> MsgWaitForMultipleObjects ...
> For unixes, I would have had to use a pipe to get out of the
> 'select' call, in order to process new request 'post' from main
> thread, and I had no time to write it under Unix.

BTW, for typical GUI applications you can actually get by perfectly
fine with just one thread.

I use libwww together with glib, GTK+ and the "glibwww" glue code to
develop a cross-platform "download manager"-like application.

Check <http://atterer.net/jigdo/> for working code. (The app itself is
far from finished, but multiple downloads already work.) I had to hack
glibwww a bit to make it work under Windows as well as Linux.

> My code for HTEvtLst/threaded under windows is available upon request.
> I also had to remove limitations about HTHost and HTAnchor (in a server
> environment, I call these limitations 'memleaks' :-)

Have you made sure that your bugfixes are also included in the main
libwww sources? That would be a benefit for all libwww users.



  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯
Received on Thursday, 10 October 2002 18:33:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC