noren@dinl.uucp (Charles Noren) (07/10/89)
While reading the C standards group I came across the comment that malloc's are dangerous to use in combination with signal handlers. I can see the potential problem if the malloc library uses static storage and an malloc is interrupted with another malloc in a signal handler. Could someone shed some light on the subject and possibly provide some rules when malloc's are safe (and portable) to use with signals. Information specific to Sun 3 with SunOS 4.0 along with issues dealing with other systems in general is desired. Thanks in advance. -- Chuck Noren NET: ncar!dinl!noren US-MAIL: Martin Marietta I&CS, MS XL8058, P.O. Box 1260, Denver, CO 80201-1260 Phone: (303) 971-7930