Merge pull request #14600 from vjpai/sst

Thread name needs to only be alphanumeric+underscore+dash
pull/14544/head^2
Vijay Pai 7 years ago committed by GitHub
commit cab01dbfcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/cpp/thread_manager/thread_manager.cc

@ -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();

Loading…
Cancel
Save