From c5005e09ced14df51e4e30a45360303ddffc5a2f Mon Sep 17 00:00:00 2001 From: Gyunseo Lee Date: Fri, 14 Jun 2024 19:47:27 +0900 Subject: [PATCH] 2024-06-14 19:47:27 Affected files: .obsidian/workspace.json src/content/blog/implementing-a-worker-thread-pool-in-c.md --- .obsidian/workspace.json | 39 +++++-------------- .../implementing-a-worker-thread-pool-in-c.md | 21 ++++++++++ 2 files changed, 31 insertions(+), 29 deletions(-) create mode 100644 src/content/blog/implementing-a-worker-thread-pool-in-c.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 2ec72a64a..ad365aa94 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,34 +4,16 @@ "type": "split", "children": [ { - "id": "af13f5421c20f0f4", + "id": "fe267ff40f80ebc9", "type": "tabs", "children": [ { - "id": "6744425213e811d2", + "id": "5ae8d88e74e600aa", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "src/content/blog/boj-1940-주몽.md", - "mode": "source", - "source": false - } - } - } - ] - }, - { - "id": "1e447cff571d4449", - "type": "tabs", - "children": [ - { - "id": "7b370b6893c04ec7", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "src/content/blog/leet-code-minimum-path-sum.md", + "file": "src/content/blog/implementing-a-worker-thread-pool-in-c.md", "mode": "source", "source": false } @@ -83,8 +65,7 @@ "state": {} } } - ], - "currentTab": 1 + ] } ], "direction": "horizontal", @@ -104,7 +85,7 @@ "state": { "type": "backlink", "state": { - "file": "src/content/blog/leet-code-minimum-path-sum.md", + "file": "src/content/blog/implementing-a-worker-thread-pool-in-c.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -121,7 +102,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "src/content/blog/leet-code-minimum-path-sum.md", + "file": "src/content/blog/implementing-a-worker-thread-pool-in-c.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -144,7 +125,7 @@ "state": { "type": "outline", "state": { - "file": "src/content/blog/leet-code-minimum-path-sum.md" + "file": "src/content/blog/implementing-a-worker-thread-pool-in-c.md" } } } @@ -167,8 +148,9 @@ "table-editor-obsidian:Advanced Tables Toolbar": false } }, - "active": "7b370b6893c04ec7", + "active": "5ae8d88e74e600aa", "lastOpenFiles": [ + "src/content/blog/implementing-a-worker-thread-pool-in-c.md", "src/content/blog/boj-1940-주몽.md", "src/content/blog/leet-code-minimum-path-sum.md", "src/content/blog/boj-5014-스타트링크.md", @@ -213,7 +195,6 @@ "src/content/blog/at-coder-beginner-contest-346-up-solve.md", "Excalidraw/Drawing 2024-03-24 18.59.55.excalidraw.md", "src/content/blog/change-apt-get-source-server.md", - "src/content/blog/personal-statement-for-an-application.md", - "src/content/blog/software-maestro-application.md" + "src/content/blog/personal-statement-for-an-application.md" ] } \ No newline at end of file diff --git a/src/content/blog/implementing-a-worker-thread-pool-in-c.md b/src/content/blog/implementing-a-worker-thread-pool-in-c.md new file mode 100644 index 000000000..a9b76cfa8 --- /dev/null +++ b/src/content/blog/implementing-a-worker-thread-pool-in-c.md @@ -0,0 +1,21 @@ +--- +author: Gyunseo Lee +title: C언어로 Worker Thread Pool 구현하기 +pubDatetime: 2024-06-14T19:45:00+09:00 +modDatetime: 2024-06-14T19:45:00+09:00 +featured: false +draft: false +tags: + - Computer-Science + - Thread + - System-Programming +description: Multi Threading 머리 아프다... +ogImage: "" +--- + +## Table of contents + +## 들어가며 + +이번 시스템 프로그래밍 실습 강의에서 Worker Thread Pool을 이용해서, 다수의 동시 접속자를 핸들링하는 예약 서버를 만들라는 과제를 받았습니다... 🥲 +어떻게 구현해야할지 감이 안 와서, 일단은 Worker Thread Pool을 만들어 보기로 했습니다!!