Message51167
Ouch, I forgot all about Ctrl-C. It would have been an amusing if short-lived "solution". ;)
The safety issue is not about suspending the process, which is safe albeit not very useful. The issue is libc (or even the kernel?) having internal data structures in an inconsistent state and being unable to handle reentrant or threaded access; random corruption, crashes, hangs, or any sort of "undefined" behaviour can result if this is not heeded. write() is one of the precious few libc functions that is labeled as not vulnerable to such things. |
|
Date |
User |
Action |
Args |
2007-08-23 15:54:45 | admin | link | issue1564547 messages |
2007-08-23 15:54:45 | admin | create | |
|