[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 Sep 10 17:55:03 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222202

            Bug ID: 222202
           Summary: Error when creating new thread via thr_new and trying
                    set it priority to RTP_PRIO_IDLE
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: cat_shtaer at rambler.ru

In file sys/kern/kern_thr.c in function thread_create when cheking parametr rtp
for it validity, value RTP_PRIO_IDLE processed like incorrect and function
return EINVAL. As i see it, this is a bug. Because it is possible setup any
other sheduler priority, except RTP_PRIO_ITHD (what is logicaly).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list