projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c5bf34
)
docs: mention that killThread on a completed thread is a no-op
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 2 Sep 2008 09:31:26 +0000
(09:31 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 2 Sep 2008 09:31:26 +0000
(09:31 +0000)
GHC/Conc.lhs
patch
|
blob
|
history
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
6239278
..
b19f520
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-266,6
+266,7
@@
terms of 'throwTo':
> killThread tid = throwTo tid ThreadKilled
+Killthread is a no-op if the target thread has already completed.
-}
killThread :: ThreadId -> IO ()
killThread tid = throwTo tid ThreadKilled