Description
This article is from the Threads Programming FAQ, by Bryan O'Sullivan bos@serpentine.com with numerous contributions by
others.
5.1. (DCE, POSIX, UI) Async safety (Programming threads)
Some library routines can be safely called from within signal
handlers; these are referred to as async-safe. A thread that is
executing some async-safe code will not deadlock if it is interrupted
by a signal. If you want to make some of your own code async-safe, you
should block signals before you obtain any locks.
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
programming, software, coding, threads programming