2 * The thread module provides support for thread creation and management.
4 * Copyright: Copyright Sean Kelly 2005 - 2012.
5 * License: Distributed under the
6 * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
7 * (See accompanying file LICENSE)
8 * Authors: Sean Kelly, Walter Bright, Alex Rønne Petersen, Martin Nowak
9 * Source: $(DRUNTIMESRC core/thread/context.d)
12 module core
.thread
.context
;
18 /// Slot for the EH implementation to keep some state for each stack
19 /// (will be necessary for exception chaining, etc.). Opaque as far as
20 /// we are concerned here.
23 StackContext
* next
, prev
;
28 void opAssign(void function() fn
) pure nothrow @nogc @safe
30 () @trusted { m_fn
= fn
; }();
33 void opAssign(void delegate() dg
) pure nothrow @nogc @safe
35 () @trusted { m_dg
= dg
; }();
59 Call m_type
= Call
.NO
;