Skip to content

Commit a1b2d86

Browse files
committed
move some posix and C++ multithread examples to lkmc
1 parent 8c0aecd commit a1b2d86

File tree

7 files changed

+1
-126
lines changed

7 files changed

+1
-126
lines changed

cpp/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,7 @@
8888
1. [iostream](iostream.cpp)
8989
1. [File IO](file_io.cpp)
9090
1. Multi-threading
91-
1. [thread::hardware_concurrency](thread_hardware_concurrency.cpp)
92-
1. [thread::this_thread::sleep_for](sleep_for.cpp)
9391
1. [thread return value](thread_return_value.cpp)
94-
1. [atomic](atomic.cpp)
95-
1. [atomic<bool>](atomic_bool.cpp.off)
96-
1. [sleep_for](interactive/sleep_for.cpp)
9792
1. [mutex](interactive/mutex.cpp)
9893
1. [algorithm](algorithm.cpp)
9994
1. [heap](heap.cpp)

cpp/atomic_bool.cpp.off

Lines changed: 0 additions & 24 deletions
This file was deleted.

cpp/interactive/sleep_for.cpp

Lines changed: 0 additions & 12 deletions
This file was deleted.

cpp/thread_hardware_concurrency.cpp

Lines changed: 0 additions & 10 deletions
This file was deleted.

posix/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
1. [getrusage](getrusage.c)
2323
1. [pthread](pthread.md)
2424
1. [pthread_mutex](pthread_mutex.c)
25-
1. [pthread_tid](pthread_tid.c)
2625
1. [pthread_deadlock](pthread_deadlock.c)
27-
1. [pthread array sym](interactive/pthread_array_sum.c)
26+
1. [pthread array sum](interactive/pthread_array_sum.c)
2827
1. [pthread CPU heavy work](interactive/pthread_cpu_heavy_work.c)
2928
1. [Regex](regex.c)
3029
1. File IO

posix/interactive/pthread_count.c

Lines changed: 0 additions & 35 deletions
This file was deleted.

posix/pthread_tid.c

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)