🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2545

Signal Handling by User Level Threads

#2545
From: Ganesh Rangarajan
Date: Wed, 19 Jun 1991 00:30
23 lines
1868 bytes
  I am not sure whether this is the group for this but this one came 
closest.  So here goes.,

  I am trying to implement threads without kernel level support (ie as a
library of function calls).  However, there is a question of what to do with 
signals as they come in. Since there is no kernel level support, there should
be some other way for blocked threads to get the signal.  One way is to have 
a signal handling thread which intercepts all signals and stores the 
required information.  When the currently executing thread finishes its task,
the signal is handled, i.e. the necessary information including handler put on
stack and executed.
  Are there any other ways that seem feasible and come to mind?  I am asking
as someone may have done this sort of thing before and may have better ideas.
  Thanks in advance,
--Ganesh
--
-------------------------------------------------------------------------------
   Ganesh Rangarajan, Systems Support Group  Work:  (904)-644-7339(Rm 11 Lov)
   Dept. of Computer Sc. B-173               Office:(904)-644-2296
   Florida State University                  Fax :  (904)-644-0058
   Tallahassee, Fl 32306.  E-Mail: rganesh@cs.fsu.edu rganesh@math.fsu.edu
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1991Jun19.003000.3045@mailer.cc.fsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!uflorida!mailer.cc.fsu.edu!nu!rganesh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!uflorida!mailer.cc.fsu.edu!nu!rganesh
From: rganesh@nu.cs.fsu.edu (Ganesh Rangarajan)
Newsgroups: comp.unix.internals
Subject: Signal Handling by User Level Threads
Message-ID: <1991Jun19.003000.3045@mailer.cc.fsu.edu>
Date: 19 Jun 91 00:30:00 GMT
Sender: news@mailer.cc.fsu.edu (Usenet News File Owner)
Reply-To: rganesh@nu.cs.fsu.edu
Organization: Florida State University Computer Science Department
Lines: 23
Nntp-Posting-Host: nu.cs.fsu.edu