summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-04-06 08:25:33 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-04-06 13:17:41 +0300
commit3e35cb1fa09e80d601929bdb2f4b4ed51b50aa7a (patch)
tree8d12fa5cced5164c296fdd4c2b6ef8192f1e5fbd /pthread_stop_world.c
parent68d419a51fa73765ac66beb348a6c577ca1963ac (diff)
downloadbdwgc-3e35cb1fa09e80d601929bdb2f4b4ed51b50aa7a.tar.gz
Revert "Remove first_thread/crtn static variables"
Issue #536 (bdwgc). This reverts commit 92dce071fa2db2b615981818b1db1024558d09ca. Reason: there should be no objects allocation in GC_init (because static data root are registered later in GC_init on Darwin, and because the client might call GC_enable_incremental after GC_init and in case of GWW_VDB any object allocation should be generally avoided before GC_enable_incremental is called). Thus, we need the first entry in GC_threads table to be allocated statically.
Diffstat (limited to 'pthread_stop_world.c')
0 files changed, 0 insertions, 0 deletions