projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09e411
)
Add a warning.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Fri, 31 Jul 2009 22:24:20 +0000
(22:24 +0000)
committer
Mikhail Glushenkov
<foldr@codedgers.com>
Fri, 31 Jul 2009 22:24:20 +0000
(22:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77746
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/Alarm.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/Alarm.h
b/include/llvm/System/Alarm.h
index 9535d23f812ca5864b82f82453bb667969b4f0f3..7c284167c2ce28318c5429d08c072a454e748dcd 100644
(file)
--- 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);