Forked from
Glasgow Haskell Compiler / GHC
44728 commits behind, 9 commits ahead of the upstream repository.
-
Simon Marlow authored
So we can now get these in ThreadScope: 19487000: cap 1: stopping thread 6 (blocked on black hole owned by thread 4) Note: needs an update to ghc-events. Older ThreadScopes will just ignore the new information.
Simon Marlow authoredSo we can now get these in ThreadScope: 19487000: cap 1: stopping thread 6 (blocked on black hole owned by thread 4) Note: needs an update to ghc-events. Older ThreadScopes will just ignore the new information.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Messages.h 798 B
/* ---------------------------------------------------------------------------
*
* (c) The GHC Team, 2010
*
* Inter-Capability message passing
*
* --------------------------------------------------------------------------*/
#include "BeginPrivate.h"
nat messageBlackHole(Capability *cap, MessageBlackHole *msg);
StgTSO * blackHoleOwner (StgClosure *bh);
#ifdef THREADED_RTS
void executeMessage (Capability *cap, Message *m);
void sendMessage (Capability *from_cap, Capability *to_cap, Message *msg);
#endif
#include "Capability.h"
#include "Updates.h" // for DEBUG_FILL_SLOP
INLINE_HEADER void
doneWithMsgThrowTo (MessageThrowTo *m)
{
OVERWRITING_CLOSURE((StgClosure*)m);
unlockClosure((StgClosure*)m, &stg_MSG_NULL_info);
LDV_RECORD_CREATE(m);
}
#include "EndPrivate.h"