From owner-cvs-all Wed Nov 4 00:42:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA18484 for cvs-all-outgoing; Wed, 4 Nov 1998 00:42:14 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA18479; Wed, 4 Nov 1998 00:42:13 -0800 (PST) (envelope-from tg@FreeBSD.org) From: Thomas Gellekum Received: (from tg@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA13092; Wed, 4 Nov 1998 00:42:15 -0800 (PST) Date: Wed, 4 Nov 1998 00:42:15 -0800 (PST) Message-Id: <199811040842.AAA13092@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/include pthread.h pthread_np.h signal.h stdio.h time.h src/lib/libc Makefile src/lib/libc/gen _spinlock_stub.c Makefile.inc isatty.c ttyname.c src/lib/libc/i386/gen _setjmp.S setjmp.S sigsetjmp.S src/lib/libc/i386/sys Ovfork.S cerror.S ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk tg 1998/11/04 00:42:14 PST Modified files: (Branch: RELENG_2_2) include pthread.h pthread_np.h signal.h stdio.h time.h lib/libc Makefile lib/libc/gen Makefile.inc isatty.c ttyname.c lib/libc/i386/gen _setjmp.S setjmp.S sigsetjmp.S lib/libc/i386/sys Ovfork.S cerror.S lib/libc/stdio Makefile.inc clrerr.c fclose.c fflush.c fgetc.c fgetpos.c fgets.c fpurge.c fputc.c fputs.c fread.c fscanf.c fseek.c ftell.c fwrite.c getc.c getchar.c putc.c putchar.c puts.c putw.c rewind.c scanf.c setvbuf.c ungetc.c vfprintf.c vscanf.c lib/libc/stdlib abort.c exit.c malloc.c lib/libc/stdtime asctime.c localtime.c lib/libc/sys ftruncate.c intro.2 lseek.c lib/libc_r Makefile lib/libc_r/man Makefile.inc pthread_cond_broadcast.3 pthread_cond_destroy.3 pthread_cond_init.3 pthread_cond_signal.3 pthread_cond_timedwait.3 pthread_cond_wait.3 pthread_create.3 pthread_mutex_destroy.3 pthread_mutex_init.3 pthread_mutex_lock.3 pthread_mutex_trylock.3 pthread_mutex_unlock.3 pthread_once.3 lib/libc_r/sys Makefile.inc lib/libc_r/uthread Makefile.inc pthread_private.h uthread_accept.c uthread_bind.c uthread_close.c uthread_cond.c uthread_connect.c uthread_create.c uthread_detach.c uthread_dup.c uthread_dup2.c uthread_execve.c uthread_exit.c uthread_fchmod.c uthread_fchown.c uthread_fcntl.c uthread_fd.c uthread_file.c uthread_flock.c uthread_fork.c 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 uthread_ioctl.c uthread_join.c uthread_kern.c uthread_kill.c uthread_listen.c uthread_mutex.c uthread_nanosleep.c uthread_open.c uthread_read.c uthread_readv.c uthread_recvfrom.c uthread_resume_np.c uthread_select.c uthread_sendto.c uthread_seterrno.c uthread_setprio.c uthread_setsockopt.c uthread_shutdown.c uthread_sig.c uthread_sigaction.c uthread_sigblock.c uthread_sigmask.c uthread_signal.c uthread_sigprocmask.c uthread_sigsetmask.c uthread_sigsuspend.c uthread_sigwait.c uthread_socket.c uthread_socketpair.c uthread_spec.c uthread_suspend_np.c uthread_wait4.c uthread_write.c uthread_writev.c Added files: (Branch: RELENG_2_2) lib/libc/gen _spinlock_stub.c lib/libc/include libc_private.h spinlock.h lib/libc/stdio _flock_stub.c lib/libc_r/man pthread_rwlock_destroy.3 pthread_rwlock_init.3 pthread_rwlock_rdlock.3 pthread_rwlock_unlock.3 pthread_rwlock_wrlock.3 pthread_rwlockattr_destroy.3 pthread_rwlockattr_getpshared.3 pthread_rwlockattr_init.3 pthread_rwlockattr_setpshared.3 lib/libc_r/sys _atomic_lock.S lib/libc_r/test Makefile lib/libc_r/test/sigsuspend Makefile sigsuspend.c lib/libc_r/test/sigwait Makefile sigwait.c lib/libc_r/uthread uthread_find_thread.c uthread_gc.c uthread_recvmsg.c uthread_rwlock.c uthread_rwlockattr.c uthread_sendmsg.c uthread_spinlock.c uthread_vfork.c Removed files: (Branch: RELENG_2_2) lib/libc_r/uthread uthread_attr_setcreatesuspend.c uthread_longjmp.c uthread_resume.c uthread_setjmp.c uthread_suspend.c Log: As theatened two weeks ago: merge the major changes from -current's pthread implementation. This includes file locking based on FILE *, signal fixes, read/write-locks, better POSIX compliance and better performance. Not included are changes relating to realtime scheduling. Famous last words: I've now built the world several times with these changes, so they shouldn't break anything. Revision Changes Path 1.2.2.5 +25 -0 src/include/pthread.h 1.1.2.2 +2 -1 src/include/pthread_np.h 1.3.2.1 +1 -0 src/include/signal.h 1.8.2.3 +67 -10 src/include/stdio.h 1.5.2.5 +2 -2 src/include/time.h 1.16.2.5 +7 -2 src/lib/libc/Makefile 1.22.2.11 +3 -2 src/lib/libc/gen/Makefile.inc 1.2.2.1 +2 -2 src/lib/libc/gen/isatty.c 1.5.2.5 +4 -4 src/lib/libc/gen/ttyname.c 1.4.2.1 +2 -10 src/lib/libc/i386/gen/_setjmp.S 1.5.2.1 +2 -10 src/lib/libc/i386/gen/setjmp.S 1.8.2.1 +2 -10 src/lib/libc/i386/gen/sigsetjmp.S 1.4.2.1 +14 -43 src/lib/libc/i386/sys/Ovfork.S 1.6.2.1 +5 -22 src/lib/libc/i386/sys/cerror.S 1.6.2.3 +3 -2 src/lib/libc/stdio/Makefile.inc 1.3.2.1 +4 -11 src/lib/libc/stdio/clrerr.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fclose.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fflush.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fgetc.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fgetpos.c 1.5.2.1 +6 -17 src/lib/libc/stdio/fgets.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fpurge.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fputc.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fputs.c 1.3.2.1 +5 -11 src/lib/libc/stdio/fread.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fscanf.c 1.4.2.1 +10 -26 src/lib/libc/stdio/fseek.c 1.5.2.1 +6 -15 src/lib/libc/stdio/ftell.c 1.3.2.1 +4 -11 src/lib/libc/stdio/fwrite.c 1.3.2.1 +4 -11 src/lib/libc/stdio/getc.c 1.3.2.1 +4 -11 src/lib/libc/stdio/getchar.c 1.3.2.1 +4 -11 src/lib/libc/stdio/putc.c 1.3.2.1 +4 -11 src/lib/libc/stdio/putchar.c 1.3.2.1 +4 -11 src/lib/libc/stdio/puts.c 1.3.2.1 +4 -11 src/lib/libc/stdio/putw.c 1.3.2.1 +4 -11 src/lib/libc/stdio/rewind.c 1.3.2.1 +4 -11 src/lib/libc/stdio/scanf.c 1.3.2.1 +5 -14 src/lib/libc/stdio/setvbuf.c 1.3.2.1 +9 -26 src/lib/libc/stdio/ungetc.c 1.9.2.3 +6 -17 src/lib/libc/stdio/vfprintf.c 1.3.2.1 +4 -11 src/lib/libc/stdio/vscanf.c 1.4.2.1 +1 -2 src/lib/libc/stdlib/abort.c 1.1.1.1.8.1 +15 -0 src/lib/libc/stdlib/exit.c 1.18.2.6 +27 -25 src/lib/libc/stdlib/malloc.c 1.4.2.1 +19 -3 src/lib/libc/stdtime/asctime.c 1.10.2.8 +18 -2 src/lib/libc/stdtime/localtime.c 1.2.2.1 +2 -2 src/lib/libc/sys/ftruncate.c 1.5.2.5 +7 -33 src/lib/libc/sys/intro.2 1.2.2.1 +2 -2 src/lib/libc/sys/lseek.c 1.4.2.2 +21 -3 src/lib/libc_r/Makefile 1.1.2.2 +10 -1 src/lib/libc_r/man/Makefile.inc 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_cond_broadcast.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_cond_destroy.3 1.1.4.3 +3 -3 src/lib/libc_r/man/pthread_cond_init.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_cond_signal.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_cond_timedwait.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_cond_wait.3 1.1.2.4 +2 -2 src/lib/libc_r/man/pthread_create.3 1.1.4.2 +2 -2 src/lib/libc_r/man/pthread_mutex_destroy.3 1.1.4.3 +2 -2 src/lib/libc_r/man/pthread_mutex_init.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_mutex_lock.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_mutex_trylock.3 1.1.4.2 +3 -3 src/lib/libc_r/man/pthread_mutex_unlock.3 1.1.2.2 +1 -1 src/lib/libc_r/man/pthread_once.3 1.5.2.3 +2 -2 src/lib/libc_r/sys/Makefile.inc 1.3.2.4 +17 -12 src/lib/libc_r/uthread/Makefile.inc 1.2.2.5 +106 -37 src/lib/libc_r/uthread/pthread_private.h 1.2.2.4 +8 -6 src/lib/libc_r/uthread/uthread_accept.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_bind.c 1.2.2.1 +3 -10 src/lib/libc_r/uthread/uthread_close.c 1.3.2.5 +69 -65 src/lib/libc_r/uthread/uthread_cond.c 1.1.2.1 +6 -5 src/lib/libc_r/uthread/uthread_connect.c 1.2.2.4 +54 -107 src/lib/libc_r/uthread/uthread_create.c 1.1.2.4 +3 -10 src/lib/libc_r/uthread/uthread_detach.c 1.1.2.1 +34 -2 src/lib/libc_r/uthread/uthread_dup.c 1.1.2.1 +16 -5 src/lib/libc_r/uthread/uthread_dup2.c 1.2.2.1 +6 -9 src/lib/libc_r/uthread/uthread_execve.c 1.2.2.2 +27 -68 src/lib/libc_r/uthread/uthread_exit.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_fchmod.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_fchown.c 1.2.2.1 +38 -13 src/lib/libc_r/uthread/uthread_fcntl.c 1.2.2.4 +373 -66 src/lib/libc_r/uthread/uthread_fd.c 1.1.2.1 +299 -61 src/lib/libc_r/uthread/uthread_file.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_flock.c 1.2.2.3 +9 -9 src/lib/libc_r/uthread/uthread_fork.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_fstat.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_fstatfs.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_fsync.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_getdirentries.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_getpeername.c 1.1.2.2 +9 -26 src/lib/libc_r/uthread/uthread_getprio.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_getsockname.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_getsockopt.c 1.1.2.2 +53 -19 src/lib/libc_r/uthread/uthread_info.c 1.3.2.4 +55 -33 src/lib/libc_r/uthread/uthread_init.c 1.1.2.2 +6 -12 src/lib/libc_r/uthread/uthread_ioctl.c 1.1.2.4 +23 -48 src/lib/libc_r/uthread/uthread_join.c 1.3.2.5 +45 -518 src/lib/libc_r/uthread/uthread_kern.c 1.1.2.2 +43 -25 src/lib/libc_r/uthread/uthread_kill.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_listen.c 1.2.2.4 +68 -68 src/lib/libc_r/uthread/uthread_mutex.c 1.3.2.2 +3 -2 src/lib/libc_r/uthread/uthread_nanosleep.c 1.2.2.2 +2 -8 src/lib/libc_r/uthread/uthread_open.c 1.1.2.2 +21 -7 src/lib/libc_r/uthread/uthread_read.c 1.1.2.2 +17 -7 src/lib/libc_r/uthread/uthread_readv.c 1.1.2.1 +6 -4 src/lib/libc_r/uthread/uthread_recvfrom.c 1.1.2.2 +9 -25 src/lib/libc_r/uthread/uthread_resume_np.c 1.2.2.2 +13 -8 src/lib/libc_r/uthread/uthread_select.c 1.1.2.1 +11 -3 src/lib/libc_r/uthread/uthread_sendto.c 1.1.2.1 +2 -3 src/lib/libc_r/uthread/uthread_seterrno.c 1.1.2.2 +8 -32 src/lib/libc_r/uthread/uthread_setprio.c 1.1.2.1 +3 -3 src/lib/libc_r/uthread/uthread_setsockopt.c 1.1.2.2 +7 -7 src/lib/libc_r/uthread/uthread_shutdown.c 1.2.2.2 +239 -71 src/lib/libc_r/uthread/uthread_sig.c 1.1.2.2 +37 -15 src/lib/libc_r/uthread/uthread_sigaction.c 1.1.2.1 +1 -1 src/lib/libc_r/uthread/uthread_sigblock.c 1.1.2.2 +5 -8 src/lib/libc_r/uthread/uthread_sigmask.c 1.1.2.1 +1 -1 src/lib/libc_r/uthread/uthread_signal.c 1.1.2.2 +4 -8 src/lib/libc_r/uthread/uthread_sigprocmask.c 1.1.2.1 +1 -1 src/lib/libc_r/uthread/uthread_sigsetmask.c 1.2.2.2 +7 -4 src/lib/libc_r/uthread/uthread_sigsuspend.c 1.1.2.2 +86 -27 src/lib/libc_r/uthread/uthread_sigwait.c 1.2.2.1 +1 -1 src/lib/libc_r/uthread/uthread_socket.c 1.1.2.2 +2 -2 src/lib/libc_r/uthread/uthread_socketpair.c 1.2.2.3 +59 -96 src/lib/libc_r/uthread/uthread_spec.c 1.1.2.2 +15 -23 src/lib/libc_r/uthread/uthread_suspend_np.c 1.1.2.1 +6 -6 src/lib/libc_r/uthread/uthread_wait4.c 1.1.2.4 +21 -6 src/lib/libc_r/uthread/uthread_write.c 1.1.2.4 +17 -6 src/lib/libc_r/uthread/uthread_writev.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message