Signals: Difference between revisions

m
no edit summary
[unchecked revision][unchecked revision]
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4:
 
==Handling==
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 C1XC11 adds more atomicity support. Make sure you read the manuals.
 
==See Also==
*[http://www.linuxjournal.com/article/3985 The Linux Signals Handling Model]
*[https://web.archive.org/web/20130926005901/http://users.actcom.co.il/~choo/lupg/tutorials/signals/signals-programming.html Introduction to Unix Signals Programming]
*[https://freenode.logbot.info/osdev/20200110#c3058656 some discussion on IRC about interrupting syscalls with signals]
 
[[Category:IPC]]
Anonymous user