Mono.Posix
1.0.5000.0
2.0.0.0
4.0.0.0
System.Delegate
System.Void
The signal to handle.
A delegate to handle POSIX signals.
When this delegate is invoked from signal context (that is, the operating system invokes the delegate), the delegate must be very careful, as processing elsewhere was interrupted at some arbitrary point. This is similar, yet different to multi-threading issues.
In particular, from managed code the only safe thing to do is modify a variable. Calling any function, even POSIX reentrant functions, will not be safe (as Mono's P/Invoke marshaller isn't reentrant).
See also: http://www-106.ibm.com/developerworks/linux/library/l-reent.html.
The POSIX 1003.1-2003 list of reentrant functions is:
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
.