12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #include "pthread.h"
- #include "implement.h"
- #include "sched.h"
- int
- pthread_attr_setschedpolicy (pthread_attr_t * attr, int policy)
- {
- if (pte_is_attr (attr) != 0)
- {
- return EINVAL;
- }
- if (policy != SCHED_OTHER)
- {
- return ENOTSUP;
- }
- return 0;
- }
|