C++ System Programming Cookbook: Practical recipes for Linux system-level programming using the latest C++ features
by: Onorato Vaticone
Print Length 页数: 292 pages
Publisher finelybook 出版社: Packt Publishing (February 21,2020)
Language 语言: English
ISBN-10: 1838646558
ISBN-13: 9781838646554
Book Description
A problem-solution-based guide to help you overcome hurdles effectively while working with kernel APIs,filesystems,networks,threads,and process communications
C++ is the preferred language for system programming due to its efficient low-level computation,data abstraction,and object-oriented features. System programming is about designing and writing computer programs that interact closely with the underlying operating system and allow computer hardware to interface with the programmer and the user. The C++ System Programming Cookbook will serve as a reference for developers who want to have ready-to-use solutions for the essential aspects of system programming using the latest C++ standards wherever possible.
This C++ book starts out by: giving you an overview of system programming and refreshing your C++ knowledge. Moving ahead,you will learn how to deal with threads and processes,before going on to discover recipes for how to manage memory. The concluding chapters will then help you understand how processes communicate and how to interact with the console (console I/O). Finally,you will learn how to deal with time interfaces,signals,and CPU scheduling.
By the end of the book,you will become adept at developing robust systems applications using C++.
Learn
Get up to speed with the fundamentals including makefile,man pages,compilation,and linking and debugging
Understand how to deal with time interfaces,signals,and CPU scheduling
Develop your knowledge of memory management
Use processes and threads for advanced synchronizations (mutexes and condition variables)
Understand interprocess communications (IPC): pipes,FIFOs,message queues,shared memory,and TCP and UDP
Discover how to interact with the console (console I/O)
Contents
Preface
Chapter 1: Getting Started with System Programming
Chapter 2: Revisiting C++
Chapter 3: Dealing with Processes and Threads
Chapter 4: Deep Dive into Memory Management
Chapter 5: Using Mutexes,Semaphores,and Condition Variables
Chapter 6: Pipes,First-In First-Out(FIFO),Message Queues,and Shared Memory
Chapter 7: Network Programming
Chapter 8: Dealing with Console I/O and Files
Chapter 9: Dealing with Time Interfaces
Chapter 10: Managing Signals
Chapter 11: Scheduling
Other Books You May Enjoy
Index