Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Q: Event Queue
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leopold Toetsch  
View profile  
 More options Jul 17 2003, 4:49 am
Newsgroups: perl.perl6.internals
From: l.toet...@nextra.at (Leopold Toetsch)
Date: Thu, 17 Jul 2003 09:51:08 +0200
Local: Thurs, Jul 17 2003 3:51 am
Subject: Q: Event Queue
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.