summaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-29 13:01:25 -0400
committerRich Felker <dalias@aerifal.cx>2011-03-29 13:01:25 -0400
commit80c4dcd2535a2d7f01eb539b0358dc51b0c0e122 (patch)
tree45bd30741a6f37bd0191467663dfbe5fb108c471 /include/limits.h
parentbf619d82c82052741323aa63c107fbd346c8aaba (diff)
downloadmusl-80c4dcd2535a2d7f01eb539b0358dc51b0c0e122.tar.gz
implement POSIX timers
this implementation is superior to the glibc/nptl implementation, in that it gives true realtime behavior. there is no risk of timer expiration events being lost due to failed thread creation or failed malloc, because the thread is created as time creation time, and reused until the timer is deleted.
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/limits.h b/include/limits.h
index 55ad8231..3953aea5 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -31,6 +31,7 @@
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define SEM_VALUE_MAX 0x7fffffff
#define SEM_NSEMS_MAX 256
+#define DELAYTIMER_MAX 0x7fffffff
/* Arbitrary numbers... */