930727:	LOG file for pthread implementation.

		In this version mutex_init does not need to allocate memory.

		pthread_mutex_init(), pthread_mutex_destroy(), pthread_mutex_lock()
		pthread_mutex_trylock(), pthread_mutex_unlock()

		pthread_create dose need to allocate memory.
		pthread_exit	sets thread to state PS_DEAD.
		context_swicth cleans calls pthread_cleanup.

930813:	basic context_switch works for 3100, version 0.2

930814:	basic context_switch works for i386

930815: syscall read/write work for 3100
		read(), write(), open()

930901: Bug with current pthread_yeild() conditions, must be fixed,
		It is a race condition.

930901: Goal to release pthreads 931001, with the following functionality.
		pthread_create pthread_exit pthread_join pthread_self pthread_equal
		(pthread_init)

		mutex_init mutex_lock mutex_unlock mutex_trylock mutex_delete

		read write open close pipe socket bind connect fcntl accept listen
		dup (maybe)

		lockfile unlockfile putc_r getc_r

931003: Things that are done.
		Basic engine for the i386, and the decstation.
		pthread_create pthread_exit pthread_join pthread_self pthread_equal
		(pthread_init)

		mutex_init mutex_lock mutex_unlock mutex_trylock

		read, write, do work but some locking is untested.
931010: Working on an engine for the 68000.

931105: Added a few pthread_attr_...() functions
		pthread_attr_init, pthread_attr_destroy, pthread_attr_setstacksize,
		pthread_attr_getstacksize, pthread_attr_getstackaddr,
		pthread_attr_setstackaddr,

		Note: To unset the stackaddr use pthread_attr_setstackaddr to NULL,
			  and it will then be dynamically allocated during each
			  pthread_create().

931106: Added threadsafe malloc, free, and realloc. Inc a few bug fixes
		from jfc.
931106: Bug fixes for connect, and the DECstation

931110: Reorg for better NetBSD support

931112: Added getpeername/getsockopt asm routines from jfc for RT
931112: Pseudo release of 1.0 4.3BSD-IBM032/Ultrix-R2000/NetBSD-i386

931113: Added readv/writev
931113: Fixed braindead header files for better header file support.
		This fixes the problem created when I reorged for NetBSD
931122: Some stdio functions.
931130: Added ENOSYS to posix.h: Bug fix from jfc

931220: Fixed accept bug reported by ckclark

931221: Done with Stdio

940114: Sleep command added. (Not tested yet.)

940117: pthread_detach(), pthread_join()

940126: sleep finally works???
940126: wbuf.c file missing from stdio (added)
940126: prototype for pthread_init inserted into pthread.h
940126: Removed compile issues from machdep.h

940129: Linux Port completed
940129: Fixed sleep bug, test_sleep works.

940213: Released pthreads-1.19 (Installed it in FreeBSD and NetBSD).

940321: Added send, sendto, recv, recvfrom.

940321: HPPA-HPUX9.03 port completed

940415: LOG all CHANGES
940415: GNUmakefile add gen to list of directories
940415: gen/GNUmakefile created with ttyname as only obj
940415: pthreads/GNUmakefile add cleanup.o to list of objects
940415: machdep/syscall-r2000-ultrix-4.2.S add machdep_sys_dup2

940416: Fixed race condition with pthread_join() and pthread_exit().
		Required adding sig_handler_exit to signal.c
940416: change /dev to /dev/ in ttyname.c
940416: added send, sendto, recv, recvfrom, and dup2 to
        syscall-sparc-sunos-4.1.3.S, and fixed the asm routine to
		correctly report errors.
940416: added strtol and strtoul definitions to posix-sunos-4.1.3.c
940416: test_switch now has command line option for number of threads.
940416: added send, sendto, recv, recvfrom to engine-i386-linux-1.0.c
940416: added dup2 to syscall-i386-linux-1.0.S

940417: use isatty instead of ioctl in gen/ttyname.c

940418: Add process.c to GNUmakefile and Makefile.inc
		It contains fork and execve
940418: Add dup, fork, execve, and pipe to syscall-r2000-ultrix-4.2.S
940418: Add pipe and fd_kern_exec plus support to fd_kern.c

940421: fd_kern.c remove fd_kern_init_called

940422: Add fd_kern_fork and fd_kern_reset to fd_kern.c.
940422: Add FD_TEST_HALF_DUPLEX and FD_TEST_FULL_DUPLEX to fd.h

940425: Move syscall-i386-netbsd.S to syscall-i386-netbsd-0.9.S
940425: Move machdep-i386-netbsd.c to machdep-i386-netbsd-0.9.c
940425: Move machdep-i386-netbsd.h to machdep-i386-netbsd-0.9.h
940425: Add make links to Makefile for NetBSD

940426: Remove references to semaphore_text_and_set in all engine-*.h file
		except engine-r2000-ultrix-4.2.h where it is renamed to
		semaphore_test_and_set.
940426: Fix stdio/fgetc.c

940429: Add file name input to p_bench_read test.
940429: Create test_fork and test_execve tests and added them to Makefile.

940418: Add dup, fork, execve, and pipe to syscall-i386-netbsd-0.9.S
940501: Fix bug in fd_basic_lock, fd_kern_init() returns void.
940501: Fix fd_basic_dup (failed to set fd_table[newfd] = fd_table[fd])
		Fix dup2 to close newfd if necessary not fd

940504: Fix _cleanup so that it calls __swalk_sflush() in stdio/findfp.c
940504: Fix __swalk_sflush() in stdio/fwalk.c (I must have been drunk)
940504: Fix fork in syscall-i386-netbsd-0.9.S

940505: Fix pthread_join(), and add test_pthread_join.

940509: Add dup, pipe, execve, and fork to syscall-i386-linux-1.0.S

940510: Fix linux machdep_sys_select() bug.

940512: Change <sys/fcntl.h> to <fcntl.h> in test/test_fork.c
940512: Fix fork in syscall-r2000-ultrix.4.2.S
940512: Add fstat to fd.c.
940512: Change references from fstat to machdep_sys_fstat in
		ttyname_basic() and open().
940512: Add machdep_sys_fstat to syscall-r2000-ultrix-4.2.c
940512: Fix pipe so that it actually has real fds.
940512: Fix fd_kern_reset (switch on type not flags)
940512: Fix machdep_sys_pipe() (extra inst needed for r2000)
940512: Fix test_fork.c (The test was wrong)

940513: Fix closdir() in gen/ttyname.c
940513: Fix fstat in fd.c

940514: Add getopt.c to stdlib
940514: Make stdlib dir for NetBSD
940514: Add configurator (Thanks Ken)
940514: Fix ttyname_basic(). Set ttyname_init.
940514: Fix pthread_key_create(), return EAGAIN on error, not random garbage

940515: Fid fd_kern_exec so it doesn't change fd's in use by the parent.
940515: Remove mail message from Eichin (I've done most of the stuff now)
940515: Some fixes to the configurator

940516: Fix fork in syscall-sparc-sunos-4.1.3.S
940516: Another fix so child fds work properly.
940516: Use __FD_NONBLOCK for test_fork.c
940516: Kludge to close() so that closing fds doesn't change their state.
940516: Fix __FD_NONBLOCK in engine-r2000-ultrix.4.2.h
940516: Fix write() in fd.c

940517: Add directory functions to gen, gen/GNUmakefile, include

940518: Fix a few bugs in the new directory functions.
940518: Break dirent.h into two files.
940518: Create sys/dirent.h for ultrix

940519: Fix close to work on the suns
940519: Add machdep_sys_getdirents to machdep.c on the sun
940519: Add machdep_sys_getdents to syscall.S for the sun
940519: Add machdep_sys_getdirents to syscall.S for all other arch.
940519: Add test_readdir.c to tests and appropriate Makefile
940519: readdir now calls machdep_sys_getdirentries.

940520: Fix close() again
940520: Add <sys/types.h> to test_readdir.c

940521: Create sys/dirent.h for linux
940521: Quick fix to directory.c and dirent.h. (probably not correct)

940522: The function telldir() can no longer be passed a const.
940522: Don't forget to alias d_ino to d_fileno in sys/dirent.h
940522: Found and KILLED the bug with test_sleep on linux.
940522: Allow non sun4c to configure

940523: Fix that damned sleep bug.

940524: Add sys/dirent.h for netbsd
940524: Add directory.c to gen/Makefile.inc
940524: Fix fd_kern calls that check -EWOULDBLOCK to check -EAGAIN also
940524: Fix vsprintf and sprintf to use _file = -1
940524: flockfile() and friends ignore file descriptors < 0
940524: Remove config.status on make realclean

940525: Add errno.c which defines __error()
940525: Add errno.h which defines errno to (* __error())
940525: Define SET_ERRNO() in pthread/kernel.h
940525: Change all references of pthread_run->error to SET_ERRNO()
940525: Start adding DCE compatibility (DCE_COMPAT)

940526: Fix a few bugs with fd_kern_exec(), and add lots of comments.
940526: Fix fd_kern_gettableentry(), to only return fds that are modified later.

940531: Fix timers so they are stopped in child after a fork

940601: Fix sys/cdefs.h for ultrix so copilers other than GCC can use threads.

940602: Remove ; at end of putc() macro definition.
940602: Add fgets to stdio/GNUmakefile

940606: Redo sleep() routines.
940606: start to add pthread_cond_timedwait()

940607: Fix bug in ftell reported from FreeBSD
940607: Merge hppa-1.32 sources with main tree.

940613: Add include/timer.h with struct timespec

940614: Add wait.c with wait(), wait3(), waitpid().

940615: Add schedparam.c with pthread_setschedparam(), pthread_getschedparam()

940618: Merge home and work source trees together.
940618: Fix configure so that it recognizes risc-ultrix

940621: Add popen.c with Greg's popen() and pclose()

940622: Add errno.h, machdep_sys_wait3() and machdep_sys_waitpid() for Ultrix

940627: Add more things to do. Fix README a little.

940628: Add errno.h for Linux
940628: Use __WAIT_STATUS for wait and wait3 in wait.c
940628: Add __WAIT_STATUS to posix.h for Ultrix (not tested)

940701: Add machdep_sys_wait3() and machdep_sys_waitpid() for hppa
940701: Fix pclose() to not use union wait *status, uses int * status now.
940701: Fix machdep_sys_fork() for the hppa

940705: wait.c includes pthread/posix.h
940705: Fix stdio.h, prototypes flockfile(), funlockfile(), and ftrylockfile()
940705: Fix stdio.h, uses __INLINE for inlined functions.
940705: cdefs.h now defines __INLINE for Ultrix

940723: Fixed bug in all fd_kern.c syscalls. They now honor O_NONBLOCK flag
940723: Added link, unlink and stat to wrapper.c
940723: Added appropriate machdep routines link(), unlink(), stat() for Ultrix 

940727: Added chmod(), chown(), chdir() to fd_kern.c
940727: Added creat(), create(), fchmod(), fchown() to fd_kern.c
940727: Added appropriate machdep routines creat(), chdir(), chmod(), chown()
		fchmod(), and fchown() for Ultrix

940728: timers.h is now defined in sys/timers.h.
940728: Fixed sleep.h to use compatible NetBSD timespec declaration
940728: send(), sendto(), recv(), recvfrom() use ssize_t and size_t

940729: Recomiled for Ultrix.
940729: Added sys/wait.h because GNU keeps changing it.

940730: Added sendmsg(), recvmsg() to fd_kern.c
940730: Added appropriate machdep routines sendmsg(), recvmsg() for Ultrix

940731: Added appropriate machdep routines chmod(), chown, chdir(), fchmod(), 
	fchown() for NetBSD-1.0

940801: Added sys/compat.h for Ultrix-4.2 and NetBSD-1.0

940802: Merged HPPA-1.42 source into source tree.

940803: Got sparc port to work.

940804: Added appropriate machdep routines chmod(), chown, chdir(), fchmod(), 
	fchown(), link(), unlink(), and stat() for Linux-1.0

940805: Added usleep(), and nanosleep() to sleep.c
940805: fflush() now calls __swalk_sflush()
940805: configure run automaticly from make if necessary
940805: Added rename() to appropriate machdep for SunOS
940805: Greg added rename() to wrapper.c and appropriate machdep routines
	for Linux, NetBSD and Ultrix machdep 

940807: Added shutdown() to fd_kern.c
940807: Incorporated BSDi patches.

