Opened 4 years ago

Last modified 5 months ago

#13307 new enhancement

pthread_attr_setschedpolicy needs implementation

Reported by: calvinb Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


This, amongst other functions for pthread, are ifdef'd out onheaders/posix/pthread.h+210. Mono wants this function, and while it's been worked around, it would be nice to have.

Change History (3)

comment:1 by calvinb, 21 months ago

An update, this seems implemented now, but Mono had trouble using it; it unexpectedly returned EINVAL.

comment:2 by waddlesplash, 21 months ago

It's not implemented, so I don't know what you're seeing here...

comment:3 by cocobean, 5 months ago

NOTE: pthread_attr_setschedpolicy is considered optional - not mandatory. For POSIX conformance, use a pthread_attr_setschedpolicy workaround instead.

Note: See TracTickets for help on using tickets.