summaryrefslogtreecommitdiff
path: root/include/llvm/System/Alarm.h
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
committerRoman Divacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
commit59850d0874429601812bc13408cb1f776649027c (patch)
treeb21f6de4e08b89bb7931806bab798fc2a5e3a686 /include/llvm/System/Alarm.h
parent18f153bdb9db52e7089a2d5293b96c45a3124a26 (diff)
Diffstat (limited to 'include/llvm/System/Alarm.h')
-rw-r--r--include/llvm/System/Alarm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/System/Alarm.h b/include/llvm/System/Alarm.h
index 9535d23f812ca..7c284167c2ce2 100644
--- a/include/llvm/System/Alarm.h
+++ b/include/llvm/System/Alarm.h
@@ -39,7 +39,8 @@ namespace sys {
/// @returns -1=cancelled, 0=untriggered, 1=triggered
int AlarmStatus();
- /// Sleep for n seconds.
+ /// Sleep for n seconds. Warning: mixing calls to Sleep() and other *Alarm
+ /// calls may be a bad idea on some platforms (source: Linux man page).
/// @returns nothing.
void Sleep(unsigned n);