aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System/Signals.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-08-02 03:04:47 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-08-02 03:04:47 +0000
commitee841a1a8735805f84d609ae105bec92525033c6 (patch)
treeeed9ac550077e4c88f72eba8cc868898990c0dbb /include/llvm/System/Signals.h
parent7e608bbb5dfe4f827e64e91b0bb68a1d95d737ae (diff)
downloadexternal_llvm-ee841a1a8735805f84d609ae105bec92525033c6.zip
external_llvm-ee841a1a8735805f84d609ae105bec92525033c6.tar.gz
external_llvm-ee841a1a8735805f84d609ae105bec92525033c6.tar.bz2
Implement SetInterruptFunction for Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System/Signals.h')
-rw-r--r--include/llvm/System/Signals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/System/Signals.h b/include/llvm/System/Signals.h
index f29fae9..1d5286f 100644
--- a/include/llvm/System/Signals.h
+++ b/include/llvm/System/Signals.h
@@ -42,7 +42,8 @@ namespace sys {
/// being killed, and the interrupt function automatically disabled. Note
/// that interrupt functions are not allowed to call any non-reentrant
/// functions. An null interrupt function pointer disables the current
- /// installed function.
+ /// installed function. Note also that the handler may be executed on a
+ /// different thread on some platforms.
/// @brief Register a function to be called when ctrl-c is pressed.
void SetInterruptFunction(void (*IF)());
} // End sys namespace