| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f4b086d commit 915d7ae
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1235,7 +1235,9 @@ changes: | |||
| 1235 | 1235 | * Maximum sizes: | |
| 1236 | 1236 | * Windows: 32,767 characters | |
| 1237 | 1237 | * macOS: 64 characters | |
| 1238 | - * Other systems: 16 characters | ||
| 1238 | + * Linux: 16 characters | ||
| 1239 | + * NetBSD: limited to `PTHREAD_MAX_NAMELEN_NP` | ||
| 1240 | + * FreeBSD and OpenBSD: limited to `MAXCOMLEN` | ||
| 1239 | 1241 | **Default:** `'WorkerThread'`. | |
| 1240 | 1242 | ||
| 1241 | 1243 | ### Event: `'error'` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -86,6 +86,7 @@ static void StartIoThreadWakeup(int signo, siginfo_t* info, void* ucontext) { | |||
| 86 | 86 | } | |
| 87 | 87 | ||
| 88 | 88 | inline void* StartIoThreadMain(void* unused) { | |
| 89 | + uv_thread_setname("SignalInspector"); | ||
| 89 | 90 | for (;;) { | |
| 90 | 91 | uv_sem_wait(&start_io_thread_semaphore); | |
| 91 | 92 | Mutex::ScopedLock lock(start_io_thread_async_mutex); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -286,7 +286,7 @@ void InspectorIo::ThreadMain() { | |||
| 286 | 286 | int thread_name_error = uv_thread_setname("InspectorIo"); | |
| 287 | 287 | if (!thread_name_error) [[unlikely]] { | |
| 288 | 288 | per_process::Debug(node::DebugCategory::INSPECTOR_SERVER, | |
| 289 | - "Failed to set thread name for Inspector\n"); | ||
| 289 | + "Failed to set thread name for Inspector\n"); | ||
| 290 | 290 | } | |
| 291 | 291 | uv_loop_t loop; | |
| 292 | 292 | loop.data = nullptr; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments