Messages in this thread | | | From | Steve Beaty <> | Subject | Re: sigaction, fork, malloc, and futex | Date | Thu, 6 May 2004 15:47:18 -0600 (MDT) |
| |
> Uhh... just read that POSIX actually allows that. Evil! > I guess you're entering undiscovered land...
it's funny how often i am there :-) :-)
> No fprintf and exit in a signal handler! Use write and _exit instead.
doesn't seem to matter...
> This exit is dubious too. _exit is better.
nor does this... i know better than to use *printf and exit; i was eager to get other's views on this...
> Good luck, you may need it - ET.
i do! :-) the code seems to work on Ultrix, Solaris, and OSX. this doesn't imply that it should :-)
-- Dr. Steve Beaty (B80) Associate Professor Metro State College of Denver beaty@emess.mscd.edu VOX: (303) 556-5321 Science Building 134C FAX: (303) 556-5381 http://clem.mscd.edu/~beatys/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |