glibc/libio
Ulrich Drepper 00a2f9aa41 Update.
1998-08-26 15:46  Ulrich Drepper  <drepper@cygnus.com>

	* internals.h: Define THREAD_GETMEM and THREAD_SETMEM to default if
	not already defined.
	(struct _pthread_descr_struct): Add p_self and p_nr field.
	* manager.c (__pthread_handles): Define second element to point
	to manager thread.
	(__pthread_handles_num): Initialize to 2.
	(__pthread_manager): Use INIT_THREAD_SELF with two arguments.
	(pthread_start_thread): Likewise.
	(pthread_handle_create): Start search for free slot at entry 2.
	Initialize new fields p_self and p_nr.
	Call __clone with CLONE_PTRACE if available.
	(pthread_free): Call FREE_THREAD_SELF if available.
	* pthread.c (__pthread_initial_thread): Initialize new fields.
	(__pthread_manager_thread): Likewise.
	(__pthread_initialize_manager): Call __clone with CLONE_PTRACE.

	* cancel.c: Use THREAD_GETMEM and THREAD_SETMEM to access the
	elements of the thread descriptor.
	* condvar.c: Likewise.
	* errno.c: Likewise.
	* join.c: Likewise.
	* manager.c: Likewise.
	* pthread.c: Likewise.
	* ptlongjmp.c: Likewise.
	* semaphore.c: Likewise.
	* signals.c: Likewise.
	* specific.c: Likewise.
	* spinlock.c: Likewise.

	* sysdeps/alpha/pt-machine.h (INIT_THREAD_SELF): Add extra parameter.

	* sysdeps/i386/useldt.h: New file.
	* sysdeps/i386/i686/pt-machine.h: Show how to use this file.

	* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM and
	THREAD_SETMEM using __thread_self.
	* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
1998-08-26 16:00:46 +00:00
..
.cvsignore
Banner
clearerr_u.c
clearerr.c
fcloseall.c Update. 1998-04-14 16:51:08 +00:00
feof_u.c
feof.c
ferror_u.c
ferror.c
fgetc.c Update. 1998-06-07 14:06:56 +00:00
filedoalloc.c Update. 1997-10-12 04:05:44 +00:00
fileno.c
fileops.c Update. 1998-08-23 18:23:26 +00:00
fputc_u.c
fputc.c Update. 1998-06-07 14:06:56 +00:00
freopen64.c Update. 1998-06-07 14:06:56 +00:00
freopen.c Update. 1998-06-07 14:06:56 +00:00
fseek.c Update. 1998-06-07 14:06:56 +00:00
fseeko64.c Update. 1998-06-07 14:06:56 +00:00
fseeko.c Update. 1998-06-07 14:06:56 +00:00
ftello64.c Update. 1998-06-07 14:06:56 +00:00
ftello.c Update. 1998-06-07 14:06:56 +00:00
genops.c Update. 1998-06-08 13:37:25 +00:00
getc_u.c
getc.c Update. 1998-06-07 14:06:56 +00:00
getchar_u.c
getchar.c Update. 1998-06-07 14:06:56 +00:00
iofclose.c Update. 1998-06-07 14:06:56 +00:00
iofdopen.c Update. 1998-08-08 20:02:34 +00:00
iofflush_u.c
iofflush.c Update. 1998-06-07 14:06:56 +00:00
iofgetpos64.c Update. 1998-06-07 14:06:56 +00:00
iofgetpos.c Update. 1998-06-07 14:06:56 +00:00
iofgets_u.c Update. 1998-07-05 11:57:59 +00:00
iofgets.c Update. 1998-06-07 14:06:56 +00:00
iofopen64.c Update. 1998-08-08 20:02:34 +00:00
iofopen.c Update. 1998-02-12 18:22:41 +00:00
iofopncook.c Update. 1997-10-12 04:05:44 +00:00
iofputs_u.c Update. 1998-07-16 13:49:59 +00:00
iofputs.c Update. 1998-06-07 14:06:56 +00:00
iofread_u.c Update. 1998-07-06 17:09:00 +00:00
iofread.c Update. 1998-06-07 14:06:56 +00:00
iofsetpos64.c Update. 1998-06-07 14:06:56 +00:00
iofsetpos.c Update. 1998-06-07 14:06:56 +00:00
ioftell.c Update. 1998-06-07 14:06:56 +00:00
iofwrite_u.c Update. 1998-07-06 17:09:00 +00:00
iofwrite.c Update. 1998-07-04 10:39:13 +00:00
iogetdelim.c Update. 1998-06-07 14:06:56 +00:00
iogetline.c Update. 1998-08-26 16:00:46 +00:00
iogets.c Update. 1998-06-07 14:06:56 +00:00
iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t. 1998-08-20 22:59:31 +00:00
iopadn.c
iopopen.c Update. 1998-08-08 20:02:34 +00:00
ioputs.c Update. 1998-06-07 14:06:56 +00:00
ioseekoff.c Update. 1998-06-07 14:06:56 +00:00
ioseekpos.c Update. 1998-06-07 14:06:56 +00:00
iosetbuffer.c Update. 1998-06-07 14:06:56 +00:00
iosetvbuf.c Update. 1998-06-07 14:06:56 +00:00
iosprintf.c
ioungetc.c Update. 1998-06-07 14:06:56 +00:00
iovdprintf.c Update. 1998-03-10 20:32:27 +00:00
iovsprintf.c Update. 1998-06-07 14:06:56 +00:00
iovsscanf.c Update. 1998-06-07 14:06:56 +00:00
libio.h Update. 1998-07-09 15:27:41 +00:00
libioP.h Update. 1998-08-23 18:23:26 +00:00
Makefile Update. 1998-08-08 20:02:34 +00:00
memstream.c Update. 1997-10-12 04:05:44 +00:00
obprintf.c Update. 1997-11-06 00:02:46 +00:00
oldfileops.c Update. 1998-08-23 18:23:26 +00:00
oldiofclose.c Update. 1998-06-07 14:06:56 +00:00
oldiofdopen.c Update. 1997-12-14 22:24:57 +00:00
oldiofopen.c Update. 1997-12-14 22:24:57 +00:00
oldstdfiles.c Update. 1997-12-14 22:24:57 +00:00
oldtmpfile.c Update. 1998-08-08 20:02:34 +00:00
pclose.c
peekc.c Update. 1998-06-07 14:06:56 +00:00
putc_u.c
putc.c Update. 1998-06-07 14:06:56 +00:00
putchar_u.c
putchar.c Update. 1998-06-07 14:06:56 +00:00
rewind.c Update. 1998-06-07 14:06:56 +00:00
setbuf.c
setlinebuf.c
stdfiles.c Update. 1997-12-14 22:24:57 +00:00
stdio.c Update. 1997-12-14 22:24:57 +00:00
stdio.h Update. 1998-08-18 23:27:30 +00:00
strfile.h Update. 1998-07-20 18:25:24 +00:00
strops.c Update. 1998-05-22 17:17:46 +00:00
vasprintf.c
Versions Update. 1998-08-23 18:23:26 +00:00
vscanf.c
vsnprintf.c Update. 1998-08-23 18:23:26 +00:00