Opened 4 years ago
Last modified 4 years ago
#16688 closed bug
TPS: pthread_setschedparam: conformance test 1.1 failed — at Version 1
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
Note:
See TracTickets
for help on using tickets.