Date: Tue, 20 Aug 1996 01:22:04 -0700 (PDT) From: Julian Elischer <julian> To: CVS-committers, cvs-all, cvs-user, cvs-lib, cvs-share, cvs-include Subject: cvs commit: src/include pthread_np.h Makefile pthread.h src/lib Makefile src/lib/libc/i386/sys fork.S pipe.S rfork.S sigpending.S sigreturn.S src/lib/libc_r Makefile src/lib/libc_r/man Makefile.inc pthread_create.3 pthread_detach.3 pthread_equal.3 pthread_exit.3 pthread_getspecific.3 pthread_join.3 pthread_key_create.3 pthread_key_delete.3 pthread_once.3 pthread_self.3 pthread_setspecific.3 src/lib/libc_r/sys Makefile.inc src/lib/libc_r/uthread uthread_attr_destroy.c uthread_attr_init.c uthread_attr_setcreatesuspend_np.c uthread_attr_setprio.c uthread_attr_setstacksize.c uthread_multi_np.c uthread_resume_np.c uthread_single_np.c uthread_suspend_np.c Makefile.inc pthread_private.h uthread_accept.c uthread_attr_setcreatesuspend.c uthread_close.c uthread_cond.c uthread_create.c uthread_execve.c uthread_exit.c uthread_fcntl.c uthread_fd.c uthread_fork.c uthread_init.c uthread_kern.c uthread_mutex.c uthread_nanosleep.c uthread_open.c uthread_pipe.c uthread_resume.c uthread_select.c uthread_sig.c uthread_sigsuspend.c uthread_socket.c uthread_spec.c uthread_suspend.c src/share/man/man3 pthread.3 Makefile src/lib/libc/gen ttyname.c src/lib/libc/i386 SYS.h src/lib/libc/net gethostnamadr.c src/lib/libc/stdtime localtime.c Message-ID: <199608200822.BAA09057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 96/08/20 01:22:02
Modified: include Makefile pthread.h
lib Makefile
lib/libc/gen ttyname.c
lib/libc/i386 SYS.h
lib/libc/i386/sys fork.S pipe.S rfork.S sigpending.S
sigreturn.S
lib/libc/net gethostnamadr.c
lib/libc/stdtime localtime.c
lib/libc_r Makefile
lib/libc_r/sys Makefile.inc
lib/libc_r/uthread Makefile.inc pthread_private.h
uthread_accept.c uthread_attr_setcreatesuspend.c
uthread_close.c uthread_cond.c uthread_create.c
uthread_execve.c uthread_exit.c uthread_fcntl.c
uthread_fd.c uthread_fork.c uthread_init.c
uthread_kern.c uthread_mutex.c uthread_nanosleep.c
uthread_open.c uthread_pipe.c uthread_resume.c
uthread_select.c uthread_sig.c uthread_sigsuspend.c
uthread_socket.c uthread_spec.c uthread_suspend.c
share/man/man3 Makefile
Added: include pthread_np.h
lib/libc_r/man Makefile.inc pthread_create.3
pthread_detach.3 pthread_equal.3 pthread_exit.3
pthread_getspecific.3 pthread_join.3
pthread_key_create.3 pthread_key_delete.3
pthread_once.3 pthread_self.3
pthread_setspecific.3
lib/libc_r/uthread uthread_attr_destroy.c
uthread_attr_init.c
uthread_attr_setcreatesuspend_np.c
uthread_attr_setprio.c uthread_attr_setstacksize.c
uthread_multi_np.c uthread_resume_np.c
uthread_single_np.c uthread_suspend_np.c
share/man/man3 pthread.3
Log:
Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).
I've created a new header (pthread_np.h) for the non-POSIX stuff.
The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.
also:
Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.
also:
I should have sent this diff with the pthread(3) man page.
It allows people to type
make -DWANT_LIBC_R world
to get libc_r built with the rest of the world. I put this in the
pthread(3) man page. The default is still not to build libc_r.
also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
Revision Changes Path
1.40 +5 -5 src/include/Makefile
1.2 +141 -186 src/include/pthread.h
1.44 +4 -0 src/lib/Makefile
1.5 +2 -1 src/lib/libc/gen/ttyname.c
1.5 +27 -9 src/lib/libc/i386/SYS.h
1.5 +3 -7 src/lib/libc/i386/sys/fork.S
1.5 +3 -7 src/lib/libc/i386/sys/pipe.S
1.3 +3 -7 src/lib/libc/i386/sys/rfork.S
1.5 +3 -7 src/lib/libc/i386/sys/sigpending.S
1.5 +3 -7 src/lib/libc/i386/sys/sigreturn.S
1.9 +23 -2 src/lib/libc/net/gethostnamadr.c
1.9 +8 -4 src/lib/libc/stdtime/localtime.c
1.3 +3 -18 src/lib/libc_r/Makefile
1.4 +34 -12 src/lib/libc_r/sys/Makefile.inc
1.3 +4 -4 src/lib/libc_r/uthread/Makefile.inc
1.2 +140 -8 src/lib/libc_r/uthread/pthread_private.h
1.2 +1 -0 src/lib/libc_r/uthread/uthread_accept.c
1.2 +0 -43 src/lib/libc_r/uthread/uthread_attr_setcreatesuspend.c
1.2 +50 -2 src/lib/libc_r/uthread/uthread_close.c
1.2 +187 -145 src/lib/libc_r/uthread/uthread_cond.c
1.2 +12 -9 src/lib/libc_r/uthread/uthread_create.c
1.2 +25 -0 src/lib/libc_r/uthread/uthread_execve.c
1.2 +38 -0 src/lib/libc_r/uthread/uthread_exit.c
1.2 +1 -0 src/lib/libc_r/uthread/uthread_fcntl.c
1.2 +19 -5 src/lib/libc_r/uthread/uthread_fd.c
1.2 +2 -0 src/lib/libc_r/uthread/uthread_fork.c
1.3 +0 -12 src/lib/libc_r/uthread/uthread_init.c
1.2 +230 -1 src/lib/libc_r/uthread/uthread_kern.c
1.2 +249 -216 src/lib/libc_r/uthread/uthread_mutex.c
1.2 +118 -29 src/lib/libc_r/uthread/uthread_nanosleep.c
1.2 +3 -8 src/lib/libc_r/uthread/uthread_open.c
1.2 +0 -5 src/lib/libc_r/uthread/uthread_pipe.c
1.2 +0 -70 src/lib/libc_r/uthread/uthread_resume.c
1.2 +9 -16 src/lib/libc_r/uthread/uthread_select.c
1.2 +44 -5 src/lib/libc_r/uthread/uthread_sig.c
1.2 +3 -0 src/lib/libc_r/uthread/uthread_sigsuspend.c
1.2 +6 -6 src/lib/libc_r/uthread/uthread_socket.c
1.2 +10 -10 src/lib/libc_r/uthread/uthread_spec.c
1.2 +0 -67 src/lib/libc_r/uthread/uthread_suspend.c
1.10 +3 -3 src/share/man/man3/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608200822.BAA09057>
