[Prev][Next][Index][Thread]
Rolling your own event handler
-
To: www-lib@w3.org
-
Subject: Rolling your own event handler
-
From: mda@stardiv.de (Matthias Dalheimer)
-
Date: Thu, 14 Dec 95 10:18:18 MET
-
From mda@stardiv.de Thu Dec 14 04: 18:51 1995
-
Message-Id: <9512140918.AA06603@starlab.stardiv.de>
-
X-Mailer: ELM [version 2.3 PL11]
Hello,
the Library Architecture Manual says that it is possible to deal with events
in three ways:
- Preemptive mode - have every system call block. This would be just fine
for simple test programs (for example testing proxy access/cache strategies
etc.)
- Active mode - the Library provides its own event loop which you have to call
via HTEvent_Loop (sp?)
- Passive mode - the application provides the event loop. This is necessary for
me because our applications already have en event loop which cannot (because
of its multiplatform nature) be redirected.
Unfortunately, I have not found any code examples (the LineModeBrowser uses
the Library's event loop) or API calls (all the API calls in HTEvntRg.h seem
to be made for Active mode). The User's Guide contains a section on the
Event Manager, but it is apparently 'under construction' and only contains
of a few lines.
Does anybody know of any examples, documentation, code snippets etc. on how
to use preemptive and/or passive mode?
Thank you very much in advance,
Kalle
--
Matthias Kalle Dalheimer
Software Engineer
StarDivision GmbH
StarView Unix Group
Sachsenfeld 4
D-20097 Hamburg
Federal Republic of Germany
Tel: +49-40-23646959
Fax: +49-40-23646550
email: mda@stardiv.de