libc/nptl/sysdeps/unix/sysv/linux getpid.c

drepper@sources.redhat.com drepper@sources.redhat.com
Sat Dec 27 06:28:00 GMT 2003


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	drepper@sourceware.org	2003-12-27 06:28:49

Modified files:
	nptl/sysdeps/unix/sysv/linux: getpid.c 

Log message:
	(really_getpid): Make inline.
	Don't set self->pid but self->tid.  If self->pid == 0 and self->tid
	!= 0, return self->tid without doing a syscall.



More information about the Glibc-cvs mailing list