mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 17:27:58 +08:00
Add a 5 debug to the iothread flog
This commit is contained in:
parent
483018222d
commit
4cb3ce0314
@ -449,7 +449,7 @@ bool make_detached_pthread(void *(*func)(void *), void *param) {
|
||||
int err = pthread_create(&thread, nullptr, func, param);
|
||||
if (err == 0) {
|
||||
// Success, return the thread.
|
||||
debug(5, "pthread %p spawned", (void *)(intptr_t)thread);
|
||||
FLOGF(iothread, "pthread %p spawned", (void *)(intptr_t)thread);
|
||||
DIE_ON_FAILURE(pthread_detach(thread));
|
||||
} else {
|
||||
perror("pthread_create");
|
||||
|
Loading…
x
Reference in New Issue
Block a user