diff options
| author | bje <bje> | 1998-07-12 10:34:21 +0000 | 
|---|---|---|
| committer | bje <bje> | 1998-07-12 10:34:21 +0000 | 
| commit | f4b8643f938cbf3a2e381459a28bd3f7a9e9b206 (patch) | |
| tree | cfbdfada5f39cd35b22c9c9138736924333b664b | |
| parent | ba45985bb3a28170fe742a4812145b7058960ea8 (diff) | |
1998-07-12  Ben Elliston  <bje@cygnus.com>
	* mutex.c (pthread_mutexattr_setprotocol): Implement.
	(pthread_mutexattr_getprotocol): Likewise.
	(pthread_mutexattr_setprioceiling): Likewise.
	(pthread_mutexattr_getprioceiling): Likewise.
| -rw-r--r-- | mutex.c | 40 | 
1 files changed, 40 insertions, 0 deletions
| @@ -0,0 +1,40 @@ +/* + * mutex.c + * + * Description: + * This translation unit implements mutual exclusion (mutex) primitives. + */ + +#include "pthread.h" + +int +pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, +			      int protocol) +{ +  /* This function is not supported. */ +  return ENOSYS; +} + +int +pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, +			     int *protocol) +{ +  /* This function is not supported. */ +  return ENOSYS; +} + +int +pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, +				 int ceiling) +{ +  /* This function is not supported. */ +  return ENOSYS; +} + +int +pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr, +				 int *ceiling) +{ +  /* This function is not supported. */ +  return ENOSYS; +} | 
