使用手机摄像头 - 扫描以下代码并下载 Kindle 阅读软件。
Hands-On System Programming with Linux: Explore Linux system programming interfaces, theory, and practice (English Edition) 1第一 版本, Kindle电子书
Get up and running with system programming concepts in Linux
- Acquire insight on Linux system architecture and its programming interfaces
- Get to grips with core concepts such as process management, signalling and pthreads
- Packed with industry best practices and dozens of code examples
The Linux OS and its embedded and server applications are critical components of today’s software infrastructure in a decentralized, networked universe. The industry's demand for proficient Linux developers is only rising with time. Hands-On System Programming with Linux gives you a solid theoretical base and practical industry-relevant descriptions, and covers the Linux system programming domain. It delves into the art and science of Linux application programming— system architecture, process memory and management, signaling, timers, pthreads, and file IO.
This book goes beyond the use API X to do Y approach; it explains the concepts and theories required to understand programming interfaces and design decisions, the tradeoffs made by experienced developers when using them, and the rationale behind them. Troubleshooting tips and techniques are included in the concluding chapter.
By the end of this book, you will have gained essential conceptual design knowledge and hands-on experience working with Linux system programming interfaces.
What you will learn
- Explore the theoretical underpinnings of Linux system architecture
- Understand why modern OSes use virtual memory and dynamic memory APIs
- Get to grips with dynamic memory issues and effectively debug them
- Learn key concepts and powerful system APIs related to process management
- Effectively perform file IO and use signaling and timers
- Deeply understand multithreading concepts, pthreads APIs, synchronization and scheduling
Who this book is for
Hands-On System Programming with Linux is for Linux system engineers, programmers, or anyone who wants to go beyond using an API set to understanding the theoretical underpinnings and concepts behind powerful Linux system programming APIs. To get the most out of this book, you should be familiar with Linux at the user-level logging in, using shell via the command line interface, the ability to use tools such as find, grep, and sort. Working knowledge of the C programming language is required. No prior experience with Linux systems programming is assumed.
Table of Contents
- Linux System Architecture
- Virtual Memory
- Resource Limits
- Dynamic Memory Allocation
- Linux Memory Issues
- Debugging Tools for Common Memory Issues
- Process Credentials
- Process Execution
- Process Capabilities
- Process Creation
- Signalling - Part 1
- Signalling - Part 2
- Multithreading with Pthreads Part 1-Essentials
- Multithreading with Pthreads Part II - Synchronization
- Multithreading with Pthreads Part III
- CPU Scheduling on Linux
- Advanced File I/O
- Troubleshooting and Best Practices
- File IO Essentials
- Daemon Processes
|页数 : 共796页||更先进的排版模式: 已启用||快速翻书: 已启用|
- ASIN : B079RKKKJ7
- 出版社 : Packt Publishing; 第 1st 版 (2018年10月31日)
- 出版日期 : 2018年10月31日
- 语言 : 英语
- 文件大小 : 11097 KB
- 标准语音朗读 : 已启用
- X-Ray : 未启用
- 生词提示功能 : 未启用
- 纸书页数 : 796页
|5 星 (0%)||0%|
|4 星 (0%)||0%|
|3 星 (0%)||0%|
|2 星 (0%)||0%|
|1 星 (0%)||0%|
In a later chapter, I ran into missing code for WARN. Both WARN, and FATAL take variable parameter lists, like printf, so I replaced the FATAL routine with this definition:
#define FATAL printf
and similarly for WARN
#define WARN printf
so the code looks like its calling either FATAL or WARN, but it's actually just calling printf.
Whenever the author needs to use functionality from features described in later chapters, he tells what chapter that feature is described in; and he tells us what functionality that was used is out of the book's scope. He gives practical examples and explains why some system call or utility will dump core under certain situations.
My goal with this book is to get comfortable doing system programming - i.e. using functions that access kernel level functionality. It is a lot more detailed than my System Level Programmingon Unix book is. My next step will be to move into the kernel.
I'm only part-way into the book, and already it's worth the time I've spent on it.
I'm using Arch for my *nix distro and VS Code OSS and EMACS/gcc8 depending on complexity as my IDEs to run his code along side reading it and have found no issues so far.
So far, as a Linux / Unix user student coder this book has cleared up major knowledge gaps for me on parts of Linux that seemed assumed knowledge online. His style of writing is strait forward and he lets you know what the book is going to cover and what it is not, the further reading list is a great resource.