Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-26 08:10:49 +0300
committerChristopher Faylor <me@cgf.cx>2004-02-26 08:10:49 +0300
commitca713cfab35fe144b73240ebe2c333c36fd7a214 (patch)
treefea3c6ad34283801c717108aae1f7ff6729f0b92 /winsup/cygwin/include/limits.h
parentf9e19c093165d7c75bd9d04204845ed53b8ff0a8 (diff)
* exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists
to force signal to be handled. Zero event here to prevent races. * signal.cc (sigwaitinfo): Use local handle value for everything since signal thread could zero event element at any time. Detect when awaking due to thread not in mask and set return value and errno accordingly. Don't set signal number to zero unless we've recognized the signal. * sigproc.cc (sigq): Rename from sigqueue throughout. * thread.cc (pthread::join): Handle signals received while waiting for thread to terminate. * cygwin.din: Export sighold, sigqueue. * exceptions.cc (sighold): Define new function. * signal.cc (handle_sigprocmask): Set correct errno for invalid signal. Simplify debugging output. (sigqueue): Define new function. * include/cygwin/signal.h (sighold): Declare new function. (sigqueue): Ditto. * include/cygwin/version.h: Bump API minor version number. * include/limits.h (TIMER_MAX): Define. (_POSIX_TIMER_MAX): Ditto.
Diffstat (limited to 'winsup/cygwin/include/limits.h')
-rw-r--r--winsup/cygwin/include/limits.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/include/limits.h b/winsup/cygwin/include/limits.h
index 5d5244384..f32cf5340 100644
--- a/winsup/cygwin/include/limits.h
+++ b/winsup/cygwin/include/limits.h
@@ -147,6 +147,10 @@ details. */
#undef PIPE_BUF
#define PIPE_BUF 4096
+/* Maximum number of timer expiration overruns. */
+#undef TIMER_MAX
+#define TIMER_MAX 32
+
/* POSIX values */
/* These should never vary from one system type to another */
/* They represent the minimum values that POSIX systems must support.
@@ -165,6 +169,7 @@ details. */
#define _POSIX_STREAM_MAX 8
#define _POSIX_TZNAME_MAX 3
#define _POSIX_RTSIG_MAX 8
+#define _POSIX_TIMER_MAX 32
#define RTSIG_MAX _POSIX_RTSIG_MAX