[PATCH] Linuxthreads pthread_atfork fix

Jakub Jelinek jakub@redhat.com
Wed Apr 2 08:15:00 GMT 2003


Hi!

LT needs to follow NPTL lead here.

2003-04-02  Jakub Jelinek  <jakub@redhat.com>

	* Makefile (libpthread-routines): Add pthread_atfork.
	(libpthread-static-only-routines): Add pthread_atfork.

--- libc/linuxthreads/Makefile.jj	2003-04-02 03:09:39.000000000 -0500
+++ libc/linuxthreads/Makefile	2003-04-02 03:11:43.000000000 -0500
@@ -47,11 +47,12 @@ libpthread-routines := attr cancel condv
 		       ptw-lseek64 ptw-llseek ptw-msync ptw-nanosleep \
 		       ptw-open ptw-open64 ptw-pause ptw-pread ptw-pread64 \
 		       ptw-pwrite ptw-pwrite64 ptw-tcdrain ptw-wait \
-		       ptw-waitpid pt-system old_pthread_atfork
+		       ptw-waitpid pt-system old_pthread_atfork pthread_atfork
 # Don't generate deps for calls with no sources.  See sysdeps/unix/Makefile.
 omit-deps = $(unix-syscalls:%=ptw-%)
 
 libpthread-shared-only-routines = pt-allocrtsig
+libpthread-static-only-routines = pthread_atfork
 
 libpthread-nonshared = pthread_atfork
 

	Jakub



More information about the Libc-hacker mailing list