diff options
author | 1999-01-18 00:06:56 +0000 | |
---|---|---|
committer | 1999-01-18 00:06:56 +0000 | |
commit | 20ca85b1c771eb4f13203d4a6c4f1e81d72a3fd2 (patch) | |
tree | ce5f8509faab4ef48d3e22e2ef3bd609ef794fda /lib/libpthread | |
parent | document (diff) | |
download | wireguard-openbsd-20ca85b1c771eb4f13203d4a6c4f1e81d72a3fd2.tar.xz wireguard-openbsd-20ca85b1c771eb4f13203d4a6c4f1e81d72a3fd2.zip |
stubs
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_attr_priosched.c | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/lib/libpthread/uthread/uthread_attr_priosched.c b/lib/libpthread/uthread/uthread_attr_priosched.c new file mode 100644 index 00000000000..cc415768165 --- /dev/null +++ b/lib/libpthread/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 |