Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/19/2003 23:58:26
Module Name: src
Committed By: thorpej
Date: Sun Jan 19 21:58:25 UTC 2003
Modified Files:
src/include: threadlib.h
src/lib/libc/thread-stub: thread-stub.c
src/lib/libpthread: pthread.c pthread_run.c
Log Message:
Add some threadlib stubs that are used by X:
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)
Also make the libc thr_self() stub not abort.
XXX Should we add thrattr_*() stubs for setting the detach-state?
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/include/threadlib.h
cvs rdiff -r1.4 -r1.5 src/lib/libc/thread-stub/thread-stub.c
cvs rdiff -r1.4 -r1.5 src/lib/libpthread/pthread.c
cvs rdiff -r1.2 -r1.3 src/lib/libpthread/pthread_run.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.