Added support for making system calls via TCHARM.
authorOrion Lawlor <olawlor@acm.org>
Wed, 25 Aug 2004 18:58:14 +0000 (18:58 +0000)
committerOrion Lawlor <olawlor@acm.org>
Wed, 25 Aug 2004 18:58:14 +0000 (18:58 +0000)
commitbd7a2d5430f4e628bae4eb70b38fa066408cb9f7
tree0422fb3044d21edf850984f27c3ed66eeb2cf2b4
parent84b012da0296de91f761e18251608c21422f7183
Added support for making system calls via TCHARM.
This is needed to work around a bug in pre-glibc 2.3
ia32 LinuxThreads where fork() results in the child
process SEGV'ing if called from a user-level thread.

The fix is to pass the system() (and hence fork())
call up to the main thread, which can run it OK.
src/libs/ck-libs/tcharm/tcharm.C
src/libs/ck-libs/tcharm/tcharm.ci
src/libs/ck-libs/tcharm/tcharm_impl.h
src/libs/ck-libs/tcharm/tcharmc.h