got warnocked ;-)

- is the event queue the struct QUEUE with handling in tsq.c?
- and - as this is thread-safe - this seems to imply, that we goona do event handling in the main thread which then dispatches signal events to the appropriate thread. This seems reasoable for pthreads with POSIX behavior. But the implementation in linux does/can direct signals to the causing thread.
- OTOH we have per interpreter events e.g. Timer, IO completion
- Finally: how will we construct an event in a signal handler. AFAIK you can't malloc it in a sig handler. Should we generate a pool of event objects in main code, and then use these preconstructed objects in the sig handler?


TIA
leo



Reply via email to