From: Gábor M. <me...@re...> - 2008-08-08 07:06:01
|
On Viernes 08 Agosto 2008, Nikodemus Siivola wrote: > ...that said, type errors from compiled code are typically handled > inside signal handles still, so almost anything can end up running > inside a signal handler. :/ Someone(tm) really needs to teach > arrange_return_to_lisp_function to pass arguments to the lisp side. Getting offtpic, here. I came to think that rules about what can and what cannot be run in signal handlers are really about reentrancy and async-signal-safety. If, for instance, posix mutexes are not safe in signal handlers they may not be safe in the function that arrange_return_to_lisp_function for to run, because getting out of the signal handler is not enough if ultimately the handler code runs at a random point in time potentially in the middle of a phtread_mutex_lock call. |