Skip to content

Commit

Permalink
2024-06-14 22:11:12
Browse files Browse the repository at this point in the history
Affected files:
src/content/blog/implementing-a-worker-thread-pool-in-c.md
  • Loading branch information
gyunseo committed Jun 14, 2024
1 parent adb7016 commit cd066e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/blog/implementing-a-worker-thread-pool-in-c.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void *startThread() {
`while(true)`에 의해 계속 mutex lock을 얻고, 본인도 임계 영역에 들어가서 걸어 잠글 수 있는지 수시로 확인합니다.
그래서 `htop`으로 각 core를 모니터링했을 때, 모든 코어가 바쁘게 돌아가고 있었던 것입니다.😮

## Condition Variable 도입!
## Condition Variable 도입하기

```c
#include <pthread.h>
Expand Down

0 comments on commit cd066e0

Please sign in to comment.