This book explains complicated topics such as signals and concurrency in an easy-to-understand manner. It covers fundamentals, asynchronous events, concurrency, and communication, and includes two types of programming problems: laboratory exercises that can be implemented in less than 100 lines of code, and more extensive laboratory projects that apply the concepts in semi-practical settings.Many systems provide an atomic TestAndSet instruction or an atomic Swap instruction to handle the problem. TestAndSet sets a variable to 1 and returns the old value of the variable. Swap is more general than TestAndSet. It has twoanbsp;...
|Title||:||Practical UNIX Programming|
|Author||:||Kay A. Robbins|
|Publisher||:||Prentice Hall - 1996|