diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-25 19:13:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-25 19:13:30 +0000 |
commit | 2a9ae45c3f89b4069e75c53f6dd32e8174b5cfd1 (patch) | |
tree | b8e970b5c14a4e5df6ab9819e108599f6620f25b /nptl/pthreadP.h | |
parent | 38576ab3076316a4bcad7bae173f4a8a288a4a69 (diff) | |
download | glibc-2a9ae45c3f89b4069e75c53f6dd32e8174b5cfd1.tar glibc-2a9ae45c3f89b4069e75c53f6dd32e8174b5cfd1.tar.gz glibc-2a9ae45c3f89b4069e75c53f6dd32e8174b5cfd1.tar.bz2 glibc-2a9ae45c3f89b4069e75c53f6dd32e8174b5cfd1.zip |
Define SIGCANCEL and SIGTIMER. Remove FRAME_LEFT definition.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index bb2736ef68..d90ac36091 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -122,6 +122,13 @@ extern int __pthread_debug attribute_hidden; # define LIBC_CANCEL_HANDLED() /* Nothing. */ #endif +/* The signal used for asynchronous cancelation. */ +#define SIGCANCEL __SIGRTMIN + + +/* Signal needed for the kernel-supported POSIX timer implementation. */ +#define SIGTIMER (__SIGRTMIN + 1) + /* This function is responsible for calling all registered cleanup handlers and then terminate the thread. This includes dellocating @@ -152,16 +159,6 @@ __do_cancel (void) } -/* Test whether stackframe is still active. */ -#ifdef _STACK_GROWS_DOWN -# define FRAME_LEFT(frame, other) ((char *) frame >= (char *) other) -#elif _STACK_GROWS_UP -# define FRAME_LEFT(frame, other) ((char *) frame <= (char *) other) -#else -# error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP" -#endif - - /* Internal prototypes. */ /* Thread list handling. */ |