|
|
@ -32,7 +32,7 @@ ThreadManager::WorkerThread::WorkerThread(ThreadManager* thd_mgr) |
|
|
|
// Make thread creation exclusive with respect to its join happening in
|
|
|
|
// Make thread creation exclusive with respect to its join happening in
|
|
|
|
// ~WorkerThread().
|
|
|
|
// ~WorkerThread().
|
|
|
|
thd_ = grpc_core::Thread( |
|
|
|
thd_ = grpc_core::Thread( |
|
|
|
"sync server thread", |
|
|
|
"grpcpp_sync_server", |
|
|
|
[](void* th) { static_cast<ThreadManager::WorkerThread*>(th)->Run(); }, |
|
|
|
[](void* th) { static_cast<ThreadManager::WorkerThread*>(th)->Run(); }, |
|
|
|
this); |
|
|
|
this); |
|
|
|
thd_.Start(); |
|
|
|
thd_.Start(); |
|
|
|