freebsd_amp_hwpstate/lib/libc_r/uthread
Julian Elischer 0f7d684755 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.
1996-08-20 08:22:01 +00:00
..
Makefile.inc Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
pthread_private.h Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_accept.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_destroy.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_init.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setcreatesuspend.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setcreatesuspend_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setprio.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_attr_setstacksize.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_autoinit.cc
uthread_bind.c
uthread_clean.c
uthread_close.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_cond.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_connect.c
uthread_create.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_detach.c
uthread_dup.c
uthread_dup2.c
uthread_equal.c
uthread_execve.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_exit.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_fchmod.c
uthread_fchown.c
uthread_fcntl.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_fd.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_file.c
uthread_flock.c
uthread_fork.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_fstat.c
uthread_fstatfs.c
uthread_fsync.c
uthread_getdirentries.c
uthread_getpeername.c
uthread_getprio.c
uthread_getsockname.c
uthread_getsockopt.c
uthread_info.c
uthread_init.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_ioctl.c
uthread_join.c
uthread_kern.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_listen.c
uthread_longjmp.c
uthread_multi_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_mutex.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_nanosleep.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_once.c
uthread_open.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_pipe.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_queue.c
uthread_read.c
uthread_readv.c
uthread_recvfrom.c
uthread_resume.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_resume_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_select.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_self.c
uthread_sendto.c
uthread_seterrno.c
uthread_setjmp.c
uthread_setprio.c
uthread_setsockopt.c
uthread_shutdown.c
uthread_sig.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_sigaction.c
uthread_sigblock.c
uthread_signal.c
uthread_sigprocmask.c
uthread_sigsetmask.c
uthread_sigsuspend.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_single_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_socket.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_socketpair.c
uthread_spec.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_suspend.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_suspend_np.c Submitted by: John Birrell <cimaxp1!jb@werple.net.au> 1996-08-20 08:22:01 +00:00
uthread_wait4.c
uthread_write.c
uthread_writev.c
uthread_yield.c