Signal Handling by User Level Threads
Ganesh Rangarajan
rganesh at nu.cs.fsu.edu
Wed Jun 19 10:30:00 AEST 1991
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 at cs.fsu.edu rganesh at math.fsu.edu
-------------------------------------------------------------------------------
More information about the Comp.unix.internals
mailing list