Age | Commit message (Collapse) | Author |
|
|
|
|
|
* condvar.c (pthread_condattr_init): Implement.
(pthread_condattr_destroy): Likewise.
(pthread_condattr_setpshared): Likewise.
(pthread_condattr_getpshared): Likewise.
|
|
* pthread.h (pthread_condattr_t): Define this type.
(pthread_condattr_init): Likewise.
(pthread_condattr_destroy): Likewise.
(pthread_condattr_setpshared): Likewise.
(pthread_condattr_getpshared): Likewise.
|
|
|
|
* implement.h (PTHREADS_THREADS_MAX): Remove trailing semicolon.
(PTHREADS_STACK_MIN): Specify; needs confirming.
(_pthreads_attr_t): Define this type.
(_pthreads_condattr_t): Likewise.
|
|
|
|
* mutex.c (pthread_mutex_init): Implement.
(pthread_mutex_destroy): Likewise.
(pthread_lock): Likewise.
(pthread_trylock): Likewise.
(pthread_unlock): Likewise.
|
|
* pthread.h (pthread_mutex_t): Define this type.
(pthread_mutex_destroy): Add function prototype.
(pthread_lock): Likewise.
(pthread_trylock): Likewise.
(pthread_unlock): Likewise.
|
|
|
|
(pthread_mutexattr_destroy): Implement.
(pthread_mutexattr_setpshared): Likewise.
(pthread_mutexattr_getpshared): Likewise.
(insert_attr): New function; very preliminary implementation!
(is_attr): Likewise.
(remove_attr): Likewise.
|
|
* pthread.h (pthread_mutexattr_init): Add function prototype.
(pthread_mutexattr_destroy): Likewise.
(pthread_mutexattr_setpshared): Likewise.
(pthread_mutexattr_getpshared): Likewise.
(PTHREAD_PROCESS_PRIVATE): Define.
(PTHREAD_PROCESS_SHARED): Define.
|
|
* implement.h (_pthread_mutex_attr_t): Define this implementation
internal type. Application programmers only see a mutex attribute
object as a void pointer.
|
|
|
|
* mutex.c (pthread_mutexattr_setprotocol): Implement.
(pthread_mutexattr_getprotocol): Likewise.
(pthread_mutexattr_setprioceiling): Likewise.
(pthread_mutexattr_getprioceiling): Likewise.
|
|
* pthread.h (pthread_mutexattr_t): Define this type.
(pthread_mutexattr_setprotocol): Add function prototype.
(pthread_mutexattr_getprotocol): Likewise.
(pthread_mutexattr_setprioceiling): Likewise.
(pthread_mutexattr_getprioceiling): Likewise.
|
|
|
|
|
|
|
|
|
|
* sync.c (pthread_join): Implement.
|
|
* misc.c (pthread_equal): Implement.
|
|
* pthread.h (pthread_join): Add function prototype.
(pthread_equal): Likewise.
|
|
|
|
|
|
|
|
* pthread.h (pthread_self): Add function prototype.
(pthread_t): Define this type.
|
|
* misc.c (pthread_self): Implement.
|
|
|
|
* exit2.c: New file; test pthread_exit() harder.
|
|
* exit1.c: New file; test pthread_exit().
|
|
|
|
|
|
* exit.c (pthread_exit): Implement.
|
|
* pthread.h (pthread_exit): Add function prototype.
|
|
|
|
* create.c (pthread_create): A dummy stub right now.
|
|
|
|
* pthread.h (pthread_create): Add function prototype.
|
|
|