ossp-pkg/l2/TODO 1.42 -> 1.43
--- TODO 2001/11/10 14:04:05 1.42
+++ TODO 2001/11/16 19:40:55 1.43
@@ -91,6 +91,7 @@
This leads to easy reimplementation of the prefix channel (asynchronous)
MS:
+- netcat can probably replace l2_sockmon, remove from build and add netcat
- pipe channel may need a big overhaul if we redesign
it around the asynch channel principle
- review pipe handler for dangling descriptors
@@ -100,12 +101,21 @@
- consider adding options such as PCRE_CASELESS to filter channel
- implement "action" channel, can be based on pipe channel
- correct problem with multiple buffer channels using the timer
+ can be solved by running a signal handler at the environment level, then
+ approximating the (multiple) user-chosen timer intervals by setting the
+ environment timer to expire at the time of the least common denominator of
+ the configured timer intervals
+ ie: tmr1 9secs; tmr2 6secs; envtmr will expire every lcd(9,6) = 3secs
+ alarm and setitimer methods are using different param types! Fixit.
+ review newly introduced timer code for L2_OK and L2_OK_PASS inconsistency
- solve problem with buffer (timer), irc (ping), and buffer (autoflush), by
creating sleep/ping threads. The disadvantage is that we must depend on a
pth installation, and force the parent app to be multithreaded.
Alternatively, we can spawn a management process in l2_stream_create(), who
owns management resources globally available to all channels. Or write the
l2 mini-protocol :-(
+- split all timer server code out of L2 and into new multiplexed timer object
+ probably must use callbacks, unless user signal space is occupied
ISSUES
------
|
|