summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-10-20 04:15:50 +0000
committerChristopher Faylor <me@cgf.cx>2002-10-20 04:15:50 +0000
commitd25c187f126df8e4d1cff98368c24815d2088bd3 (patch)
tree204a4eb3eafc1c3955417c8d36388f7e030eb1e5 /winsup/cygwin/thread.cc
parentbea966c0d9a65fd0c7b909fc5f8b2b2ff7635537 (diff)
downloadcygnal-d25c187f126df8e4d1cff98368c24815d2088bd3.tar.gz
cygnal-d25c187f126df8e4d1cff98368c24815d2088bd3.tar.bz2
cygnal-d25c187f126df8e4d1cff98368c24815d2088bd3.zip
Rename _kill() to kill() throughout. Rename _raise() to raise() throughout.
Rename _pid() to pid() throughout. * Makefile.in: Compile some objects with -fomit-frame-pointer. * cygwin.din: Reverse aliasing for _kill. * syscalls.cc (_getpid_r): New function, implemented for newlib compatibility. * shared.cc (open_shared): Remove reserving of memory since previous change eliminate the need for this hack.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index 42be6ca2c..115df453e 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -2214,7 +2214,7 @@ __pthread_kill (pthread_t thread, int sig)
if (thread->sigs)
myself->setthread2signal (thread);
- int rval = _kill (myself->pid, sig);
+ int rval = raise (sig);
// unlock myself
return rval;