Add a warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2009-07-31 22:24:20 +00:00
parent c09e411102
commit 7ea9de78ee

View File

@@ -39,7 +39,8 @@ namespace sys {
/// @returns -1=cancelled, 0=untriggered, 1=triggered /// @returns -1=cancelled, 0=untriggered, 1=triggered
int AlarmStatus(); 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. /// @returns nothing.
void Sleep(unsigned n); void Sleep(unsigned n);