MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Yet another update on threads and signals
OK, so trapping the signal in a signal handler won't work, because the
POSIX thread functions are not reentrant.
However, using sigwait() will, so instead of a signal handler, I'll spawn a
thread whose only purpose in like is to wait for that signal and, upon
receiving it, do its magic. It can just block in sigwait() until the
signal is delivered.
Adam
--
adam#princeton,edu
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman
- Thread context:
- [MUD-Dev] Re: Private Re: [Mud-Dev] Re: Affordances and social method, (continued)
- [MUD-Dev] Re: Affordances and social method,
cat cat#bga,com, Fri 14 Aug 1998, 21:34 GMT
- [MUD-Dev] OT: access,
s001gmu s001gmu#nova,wright.edu, Fri 14 Aug 1998, 18:48 GMT
- [MUD-Dev] Yet another update on threads and signals,
Adam J. Thornton adam#phoenix,Princeton.EDU, Fri 14 Aug 1998, 14:24 GMT
- [MUD-Dev] Passing file descriptors to other processes,
Adam J. Thornton adam#phoenix,Princeton.EDU, Fri 14 Aug 1998, 03:18 GMT
- [MUD-Dev] Re: Methods to Reduce Ecological Wipeout (fwd),
Marc Hernandez marc#jb,com, Thu 13 Aug 1998, 20:44 GMT
- [MUD-Dev] Re: avoiding ecological wipeout,
Laurel Fan lf25+@andrew.cmu.edu, Thu 13 Aug 1998, 20:13 GMT
[ Other Periods
| Other mailing lists
| Search
]