[runtime] Make sure mono_create_handler_block_trampoline is async signal safe.
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 14 Aug 2013 22:09:40 +0000 (18:09 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 14 Aug 2013 23:05:19 +0000 (19:05 -0400)
commit93b0f40d43f3d4ce98c2fbf058829843d29d7292
treee50fd476288967a40667fe431ad5c1f4a1855a45
parent516c4d85f5747d8cae85b8e2419d0a80fad5e8f5
[runtime] Make sure mono_create_handler_block_trampoline is async signal safe.

We call mono_create_handler_block_trampoline when installing the block guard,
so this function must be async safe at that stage in the runtime.

Since it is eagerly called during startup, we should be fine with just
memory barriers.
mono/mini/mini-trampolines.c