[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Sun May 17 12:05:44 CEST 2009
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/05/17 12:05:44
Modified files:
cm3/m3-libs/m3core/src/runtime/FreeBSD4/: RTThread.m3
Log message:
vtalarm handling moved to thread/posix
Note that implementation here varied somewhat:
- used sigvec instead of signal or sigaction
I believe sigvec is a BSDism subset of and predates Posix sigaction.
Though as stated in the replacement code, the flags used
by the various users of sigvec/sigaction weren't consistent,
so the unified code could use closer review (modulo
that this is related to user threads only).
- doesn't cache the signal set, very reasonable either way,
not caching avoids a writable variable and module initializer,
but if using user threads, the code is going to run early anyway
Usually these functions are tiny little macros anyway, at least in C.
(sigemptyset, sigaddset)
More information about the M3commit
mailing list