W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

activate the eventloop

From: Derruau, Mathias <Mathias_Derruau@hplb.hpl.hp.com>
Date: Tue, 12 Sep 2000 18:13:21 +0100
Message-ID: <5E13A1874524D411A876006008CD059FAA34C8@0-mail-1.hpl.hp.com>
To: "'www-lib@w3.org'" <www-lib@w3.org>

I am using libwww to fetch files using ftp and http.
For the purpose of my application, I need to use the eventloop of libwww in
a thread.
The eventloop can be considered as a kind of daemon that needs to be woken
up by one of the other threads.

But once the daemon is in the eventloop, I have not been able to interact in
any manner with it.
The eventloop sample application with the console_parser doesn't seem to
work on NT (I tried to replace STDIN_FILENO by _fileno(stdin)), and my
problem is even slightly different, as I want to signal the daemon to do a
request more than having a console.

Does anyone have an idea of what possible ways there are to implement this?
Any comment appreciated

Mathias Derruau
Received on Tuesday, 12 September 2000 13:13:33 UTC

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