Signals: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Formatted and Moved from PFR into Stubs.
No edit summary
Line 4: Line 4:


==Handling==
==Handling==
Signal handling is ''tricky'', since it breaks the single-control-flow structure of a C program. Make sure you read the manuals.
Signal handling is ''tricky'', since it breaks the single-control-flow structure of a C program. Not only that but in C, almost nothing is atomic, not even something like i++ (unless i is of type sig_atomic_t)---note that C1X adds more atomicity support. Make sure you read the manuals.


==See Also==
==See Also==