Files
Nim/lib
Reimer Behrends 639b5e0069 Properly register threads with the Boehm GC.
In order to be able to scan thread stacks, the Boehm GC needs to know
about newly created threads. We establish the end of the stack by using
GC_call_with_stack_base (this works properly also with the dual-stack
Itanium architecture) and then GC_register_my_thread() to register a
thrad and GC_unregister_my_thread() to unregister it again.

This patch also includes a modification for the refc and markandsweep
collectors to set the stack bottom for thread stacks correctly even if
an optimizer aggressively inlines and optimizes procedures (this is
already being done for the stack of the main thread).

Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm
API uses no specific calling convention.
2015-09-08 19:01:06 +02:00
..
2015-08-21 12:18:04 +02:00
2015-09-06 23:02:28 +10:00
2015-06-04 13:18:42 +02:00
2015-09-05 12:03:53 +02:00
2013-03-16 23:53:07 +01:00
2015-08-25 22:44:53 +02:00
2014-08-28 09:59:26 +02:00