diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-01-18 00:06:57 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-01-18 00:06:57 +0000 |
commit | 5f5fcf23fa36ea33684ebe2596d24dde08ec8102 (patch) | |
tree | e6ece95d37a1f18db4ebe4b39b4a65aa9720036f /lib/libc_r | |
parent | 4b1f297dfa221dbe111e23eb86a217ce6e637e56 (diff) |
stubs
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_priosched.c | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/lib/libc_r/uthread/uthread_attr_priosched.c b/lib/libc_r/uthread/uthread_attr_priosched.c new file mode 100644 index 00000000000..cc415768165 --- /dev/null +++ b/lib/libc_r/uthread/uthread_attr_priosched.c @@ -0,0 +1,82 @@ +/* + * David Leonard <d@openbsd.org>, 1998. Public Domain. + * + * $OpenBSD: uthread_attr_priosched.c,v 1.1 1999/01/18 00:06:56 d Exp $ + */ +#include <errno.h> +#ifdef _THREAD_SAFE +#include <pthread.h> +#include "pthread_private.h" + +int +pthread_attr_setscope(attr, contentionscope) + pthread_attr_t *attr; + int contentionscope; +{ + + return (ENOSYS); +} + +int +pthread_attr_getscope(attr, contentionscope) + const pthread_attr_t *attr; + int *contentionscope; +{ + + return (ENOSYS); +} + +int +pthread_attr_setinheritsched(attr, inheritsched) + pthread_attr_t *attr; + int inheritsched; +{ + + return (ENOSYS); +} + +int +pthread_attr_getinheritsched(attr, inheritsched) + const pthread_attr_t *attr; + int *inheritsched; +{ + + return (ENOSYS); +} + +int +pthread_attr_setschedpolicy(attr, policy) + pthread_attr_t *attr; + int policy; +{ + + return (ENOSYS); +} + +int +pthread_attr_getschedpolicy(attr, policy) + const pthread_attr_t *attr; + int *policy; +{ + + return (ENOSYS); +} + +int +pthread_attr_setschedparam(attr, param) + pthread_attr_t *attr; + const struct sched_param *param; +{ + + return (ENOSYS); +} + +int +pthread_attr_getschedparam(attr, param) + const pthread_attr_t *attr; + struct sched_param *param; +{ + + return (ENOSYS); +} +#endif |