We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c08050 commit 18c23f5Copy full SHA for 18c23f5
src/node_worker.cc
@@ -739,6 +739,7 @@ void Worker::StartThread(const FunctionCallbackInfo<Value>& args) {
739
Worker* w = static_cast<Worker*>(arg);
740
const uintptr_t stack_top = reinterpret_cast<uintptr_t>(&arg);
741
742
+ uv_thread_setname(w->name_.c_str());
743
// Leave a few kilobytes just to make sure we're within limits and have
744
// some space to do work in C++ land.
745
w->stack_base_ = stack_top - (w->stack_size_ - kStackBufferSize);
0 commit comments