- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pthread_attr_setdetachstate (0.62 sec)
-
src/runtime/os_aix.go
throw("pthread_attr_init") } if pthread_attr_setstacksize(&attr, threadStackSize) != 0 { throw("pthread_attr_getstacksize") } if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 { throw("pthread_attr_setdetachstate") } // Disable signals during create, so that the new thread starts // with signals disabled. It will enable them in minit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/cgo/gcc_signal_ios_arm64.c
sigfillset(&ign); pthread_sigmask(SIG_SETMASK, &ign, &oset); // Start a thread to handle exceptions. uintptr_t port_set = (uintptr_t)mach_exception_handler_port_set; pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); ret = _cgo_try_pthread_create(&thr, &attr, mach_exception_handler, (void*)port_set); pthread_sigmask(SIG_SETMASK, &oset, nil); if (ret) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:04:22 UTC 2024 - 6K bytes - Viewed (0)