+else version( freebsd )
+{
+ enum
+ {
+ PTHREAD_SCOPE_PROCESS = 0,
+ PTHREAD_SCOPE_SYSTEM = 0x2
+ }
+
+ int pthread_attr_getinheritsched(in pthread_attr_t*, int*);
+ int pthread_attr_getschedpolicy(in pthread_attr_t*, int*);
+ int pthread_attr_getscope(in pthread_attr_t*, int*);
+ int pthread_attr_setinheritsched(pthread_attr_t*, int);
+ int pthread_attr_setschedpolicy(pthread_attr_t*, int);
+ int pthread_attr_setscope(in pthread_attr_t*, int);
+ int pthread_getschedparam(pthread_t, int*, sched_param*);
+ int pthread_setschedparam(pthread_t, int, sched_param*);
+ //int pthread_setschedprio(pthread_t, int);
+}