From: Colin Steele Date: 2001-04-12T06:14:07+09:00 Subject: [ruby-talk:13611] Re: signal handling - trap is in non-interrupt context, right? Mathieu Bouchard writes: Mathieu> There are non-reentrant UNIX functions? POSIX.1 specifies the functions that are guaranteed to be reentrant. There are some additional ones in SVR4 that are reentrant. However, most functions are NOT reentrant, mostly because a) they use static data structures, or b) they call malloc or free, or c) they're part of the standard i/o library, which uses global data structures. -- Colin Steele colin@webg2.com / www.colinsteele.org / www.rubycookbook.org From "The Hacker's Dictionary": smiley: n. See {emoticon}.