Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
imarvinle committed Mar 2, 2019
1 parent a3407b0 commit 334514d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version_0.3/src/ThreadPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void *ThreadPool::worker(void *args) {
// 退出线程
if (pool == nullptr)
return NULL;
prctl(PR_PR_SET_NAME,"EventLoopThread");
prctl(PR_SET_NAME,"EventLoopThread");

// 执行线程主方法
pool->run();
Expand Down

0 comments on commit 334514d

Please sign in to comment.