Hi!
I know, it's there for the compat stuff. It's now SYS_compat_13_sigaction13 or SYS___sigaction14 (which may be covered by COMPAT_16 at some time..). (And, on -current it's also SYS___sigaction_sigtramp...)SYS_sigaction is avalible in NetBSD, but it is not exported to the userland (ie. it is used only within the kernel), I hardcoded the value
Jason R. Thorpe told me in a mail to tech-kern that using sigaction() would be "The Right Thing". In fact, he said: "You should not be using the SYS_* system call constants *at all*."of it into the and it worked, I never got round to fixing it up properly.
NetBSD-current now has native pthreads and semephor.h, so a number of the changes I still haven't cleaned up and submited are now no-ops for NetBSD, does anyone know of another OS without native pthreads and semephor.h that its worth applying a patch to use pth and switch semephor calls to pthread_mutex's or should I consider this unessasry now (NOTE that the native threads will not be in 1.6.x of NetBSD as its been put into the non-1.6 branch iirc, so it may be worth patching anyway?). -
You're right, the first NetBSD release with native pthreads will be 2.0.
Regards, Marc -- "Premature optimization is the root of all evil." -- Donald E. Knuth
msg00086/pgp00000.pgp
Description: PGP signature
