Skip to content

[pull] master from XMuli:master #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dc9f546
docs: update
XMuli Jun 30, 2023
4d501e3
feat: update
XMuli Jul 1, 2023
2847223
docs: README.md
XMuli Jul 3, 2023
78fd605
docs: 更新文章
XMuli Oct 18, 2023
f490bd3
docs: archived screenshot
XMuli Nov 17, 2023
788b126
docs: License
XMuli Jan 24, 2024
30a7f71
docs: 更新文章
XMuli Jan 24, 2024
81740ed
fix some typo (#13)
ljhcage Dec 25, 2024
927cae6
docs: update
XMuli Jan 1, 2025
aaa8240
feat: 测试 GCC 是否安装成功
XMuli Apr 26, 2025
0f9a34a
feat: gcc 和 g++的区别
XMuli Apr 26, 2025
12047a9
feat: gcc工作流程:预处理,编译,汇编,链接
XMuli Apr 26, 2025
e3741a8
feat: Uinx/Linux 下使用gcc/g++ 制作.so和.a调用
XMuli Apr 26, 2025
12b2749
feat: 编写 makefile 文件
XMuli Apr 27, 2025
cc60b2e
feat: 用 gdb 进行调试
XMuli Apr 27, 2025
113f923
feat: 调用系统库函数读写文件,打印文件描述符
XMuli Apr 27, 2025
008b992
feat: 创建子进程,兄弟子进程,进程的全局变量不共享
XMuli Apr 27, 2025
f3cb16f
feat: exec() 函数族:execl() / execlp()
XMuli Apr 28, 2025
44ccfcf
feat: 孤儿进程,僵尸进程,进程回收
XMuli Apr 28, 2025
9733116
feat: 父子进程间,兄弟子进程间,使用管道 pipe 通信
XMuli Apr 28, 2025
7f758cb
feat: 无血缘关系的进程间通信,使用有名管道fifo
XMuli Apr 28, 2025
8127184
feat: 内存映射区mmap()
XMuli Apr 29, 2025
8e2b18e
feat: 系统信号 signal 和相关函数 kill、raise、abort、alarm、setitimer
XMuli Apr 29, 2025
af8f676
feat: 系统未决信号集、系统阻塞信号集、自定义信号集,以及信号捕捉处理
XMuli Apr 29, 2025
71e8909
feat: 守护进程 setsid()
XMuli Apr 29, 2025
e755892
feat: 多线程 pthread_create()、pthread_exit()、pthread_join()
XMuli Apr 29, 2025
1c5b5c2
feat: 多线程使用互斥量(锁) Mutex
XMuli Apr 29, 2025
51fa748
feat: pthread_rwlock_rdlock() / pthread_rwlock_wrlock()
XMuli Apr 29, 2025
ce21262
feat: 条件变量pthread_cond_wait() / pthread_cond_signal()
XMuli Apr 29, 2025
b33f685
feat: 信号量( 信号灯) sem_init()
XMuli May 1, 2025
b8bfc27
feat: 添加 Linux 高清图谱
XMuli May 1, 2025
5854e7b
chore: update README
XMuli May 2, 2025
81442f4
feat: update README
XMuli May 3, 2025
8ff8f0b
docs: Update README
XMuli Jun 17, 2025
34f571c
Update LICENSE
XMuli Jun 17, 2025
7383190
Update README.md
XMuli Jun 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2019~2025 Wengeng Zhang <xmulitech@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
470 changes: 307 additions & 163 deletions README.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions unix_linux_01_test_gcc/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Created by muli on 2020/3/2.
// Copyright © 2020 muli. All rights reserved.
//

#include <iostream>

int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
11 changes: 11 additions & 0 deletions unix_linux_02_c_cpp/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Created by muli on 2020/3/2.
// Copyright © 2020 muli. All rights reserved.
//

#include <iostream>

int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
11 changes: 11 additions & 0 deletions unix_linux_02_c_cpp/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Created by muli on 2020/3/2.
// Copyright © 2020 muli. All rights reserved.
//

#include <iostream>

int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
Binary file added unix_linux_03_gcc_workflow/main
Binary file not shown.
11 changes: 11 additions & 0 deletions unix_linux_03_gcc_workflow/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Created by muli on 2020/3/2.
// Copyright © 2020 muli. All rights reserved.
//

#include <iostream>

int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
Loading