Opened 4 years ago
Closed 4 years ago
#16688 closed bug (no change required)
TPS: pthread_setschedparam: conformance test 1.1 failed
Reported by: | cocobean | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | pthread, TPS, POSIX | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
For Haiku's open-posix-testsuite:
Ref: conformance/interfaces/pthread_setschedparam/1-1.c
Goal: Set the sched parameter with pthread_setschedparam() then get
policy = SCHED_FIFO; priority = sched_get_priority_min(policy); sparam.sched_priority = priority; rc = pthread_setschedparam(pthread_self(), policy, &sparam); if (rc != 0) { printf("Error at pthread_setschedparam: rc=%d\n", rc); exit(PTS_FAIL); }
Test expects: rc=0
Result: Error at pthread_setschedparam: rc=2147454920
Tested on: Haiku x86 hrev54807 (FAILED on GCC2 x86, PASSES on GCC8 x86)
Change History (4)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
comment:4 by , 4 years ago
Resolution: | → no change required |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
No work needed. This test passes on Haiku x86 GCC8, and considered optional. Please close this ticket.