comparison src/process.c @ 53732:0341435e76ce

* process.c (sigchld_handler): Add comment about not calling malloc
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 27 Jan 2004 21:34:43 +0000
parents e069e543fd28
children ad9da392f358 1d2f73785d9d
comparison
equal deleted inserted replaced
53731:e17528907817 53732:0341435e76ce
6092 handler will be called again, resulting in an infinite loop. The 6092 handler will be called again, resulting in an infinite loop. The
6093 relevant portion of the documentation reads "SIGCLD signals will be 6093 relevant portion of the documentation reads "SIGCLD signals will be
6094 queued and the signal-catching function will be continually 6094 queued and the signal-catching function will be continually
6095 reentered until the queue is empty". Invoking signal() causes the 6095 reentered until the queue is empty". Invoking signal() causes the
6096 kernel to reexamine the SIGCLD queue. Fred Fish, UniSoft Systems 6096 kernel to reexamine the SIGCLD queue. Fred Fish, UniSoft Systems
6097 Inc. */ 6097 Inc.
6098
6099 ** Malloc WARNING: This should never call malloc either directly or
6100 indirectly; if it does, that is a bug */
6098 6101
6099 SIGTYPE 6102 SIGTYPE
6100 sigchld_handler (signo) 6103 sigchld_handler (signo)
6101 int signo; 6104 int signo;
6102 { 6105 {