projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ce3739
)
[project @ 2005-05-11 12:43:48 by simonmar]
author
simonmar
<unknown>
Wed, 11 May 2005 12:43:48 +0000
(12:43 +0000)
committer
simonmar
<unknown>
Wed, 11 May 2005 12:43:48 +0000
(12:43 +0000)
SMP: add a missing insertHashTable()
ghc/rts/Capability.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Capability.c
b/ghc/rts/Capability.c
index
0ae4688
..
0d58e75
100644
(file)
--- a/
ghc/rts/Capability.c
+++ b/
ghc/rts/Capability.c
@@
-307,6
+307,7
@@
waitForReturnCapability( Mutex* pMutex, Capability** pCap )
*pCap = free_capabilities;
free_capabilities = (*pCap)->link;
ASSERT(pCap != NULL);
+ insertHashTable(capability_hash, osThreadId(), *pCap);
#else
*pCap = &MainCapability;
ASSERT(rts_n_free_capabilities == 0);