[Bug 222202] Error when creating new thread via thr_new and trying set it priority to RTP_PRIO_IDLE

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222202

Jilles Tjoelker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Jilles Tjoelker <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.