[Bug 222202] Error when creating new thread via thr_new and trying set it priority to RTP_PRIO_IDLE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 22 21:05:35 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222202
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jilles at FreeBSD.org
--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
It looks like libthr does not have any support for RTP_PRIO_IDLE either.
Perhaps this is because the risk of a non-idle thread getting blocked by an
idle thread is high (for example, if an idle thread has locked data structures
used by malloc()).
A workaround is possible by calling rtprio_thread() manually using the id from
pthread_getthreadid_np().
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list