W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

HTEvent_new

From: Garry Chan <garry.chan@alumni.ust.hk>
Date: Mon, 28 Feb 2000 14:33:51 +0800
Message-ID: <003301bf81b5$c76bd5e0$08df598f@resnet.ust.hk>
To: "Libwww" <www-lib@w3.org>
Hi,

In tiny.c (one of the example programs that comes with libwww), the
console_parser function is registered as callback of a event:
    HTEvent_new(console_parser, me, HT_PROIORITY_MAX, -1);

The last parameter indicates the timeout in milliseconds. What does that
mean when -1 is passed? Why it has been done in this way?

I can't find any good explanation in w3's documents. Could you please help
me out?

Regards,
Garry
Received on Monday, 28 February 2000 01:31:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT