Event extension to TinyTcl - or maybe Jim



I have an event extension to tinytcl that is based on initial work for
Jim by Salvatore. It probably would be happier in Jim, but I wrote it
to the old style tinytcl interface. I'd like to give this back, but I'm
not sure how to do it. Anyone have any ideas? What I've implemented is,
for the most part, a single command called event with the following
syntax:

event add timer <delay> <script>
event add <filehandle> [r|w] <script>
event poll
event wait
event remove [<eventid> | all]

Event poll and event wait are exactly analogous to update and vwait,
except that I don't wait on a variable to change to exit the event
loop. If a script wants to exit the event loop it can call 'event
remove all'.

This works on a linux 2.6.5 kernel.

craig

.



Relevant Pages

  • Re: msimn.exe wont quit
    ... Jim, compaction is turned off. ... Do a "exit and log off identity" and msimn.exe won't quit. ... Now with respect to McAfee, PC did originally come with a McAfee 90day trial ... > "Steve" wrote in message ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: What is wrong with Google?
    ... ban the exit. ... Haji, relative to greenhouses magic and functional, ... For Jim the bullet's political, ...
    (sci.crypt)
  • Re: FS Gottlieb Jack in the Box Arcade Pinball Machine in NJ
    ... Jim ... repairing and playing it but I just bought a 65' BSA Royal Star to restore ... Glide & Royal Star in my workshop. ... on parkway or 20min off exit 11 on turnpike. ...
    (rec.games.pinball)
  • Re: New I-93N Franconia Notch New Hampshire Video
    ... Littleton, Exit 42 (Mile 124), One of my favorite drives. ... Great job, Jim. ... notch, I think you are right, it could be done without disrupting ...
    (misc.transport.road)
  • Re: Can be Tcl/Tk installed in uCLinux?
    ... but if you are looking for a low memory Tcl ... take a look at tinytcl and jim and hecl. ... Hecl doesn't take up much space *if* there is a J2ME JVM installed, ...
    (comp.lang.tcl)