You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: trans/cpp-sys-prog-cb/00.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# 前言
1
+
# 零、前言
2
2
3
3
这本书旨在为系统编程的基本方面提供现成的解决方案(给开发人员),尽可能使用最新的 C++ 标准。系统编程涉及构建与操作系统紧密交互的计算机程序,并允许计算机硬件与程序员和用户交互。由于其高效的特性,即低级计算、数据抽象和面向对象的特性,C++ 是系统编程的首选语言。您将学习如何创建健壮的并发系统,还将了解具有共享内存和管道的进程间通信机制。展望未来,您将深入研究 C++ 内置库和框架,以便根据您的需求设计健壮的系统。
Copy file name to clipboardExpand all lines: trans/cpp-sys-prog-cb/01.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# 系统编程入门
1
+
# 一、系统编程入门
2
2
3
3
在这一章,你将被介绍整本书的框架基础。您将学习(或更新您的知识)Linux 是如何设计的,您还将学习外壳、用户和组、进程标识和线程标识,以便能够熟练使用 Linux 系统,并为下一章做好准备。此外,你还将学习如何开发一个简单的`hello world`程序,并了解它的 makefile,以及如何执行和调试它。本章的另一个重要方面是从 shell 和源代码的角度了解 Linux 如何处理错误。这些基础知识对于理解后面章节中的其他高级主题非常重要。如果不需要复习,您可以安全地跳过这一章和下一章。
Copy file name to clipboardExpand all lines: trans/cpp-sys-prog-cb/05.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# 使用互斥、信号量和条件变量
1
+
# 五、使用互斥、信号量和条件变量
2
2
3
3
本章将重点介绍可用于同步共享资源访问的最常见机制。我们将研究的同步机制可以防止一个关键部分(负责资源的程序段)被两个或多个进程或线程并发执行。在本章中,您将学习如何同时使用 POSIX 和 C++ 标准库同步构建块,例如互斥体、`std::condition_variable`、`std::promise`和`std::future`。
0 commit comments