summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-10-15 11:24:00 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-10-17 12:42:08 +0300
commitf970259118e2d9316eff0f59692f5f61363cfe72 (patch)
tree23855f6e7b1a80384078cc05c56211e4c9454981 /win32_threads.c
parente7e7c4c984b1516a46e196ad6ab14b1e67d13cae (diff)
downloadbdwgc-f970259118e2d9316eff0f59692f5f61363cfe72.tar.gz
Change type of GC_collecting variable to match atomic operations over it
(refactoring) * include/private/gc_locks.h [!GC_WIN32_THREADS && GC_PTHREADS] (GC_collecting): Change type from GC_bool to unsigned char. * pthread_support.c (GC_collecting): Likewise. * include/private/gc_locks.h [!GC_WIN32_THREADS && GC_PTHREADS && AO_HAVE_char_store] (ENTER_GC, EXIT_GC): Remove cast to unsigned char*. * pthread_support.c (GC_collecting): Move down to be near is_collecting. * pthread_support.c [AO_HAVE_char_load && !BASE_ATOMIC_OPS_EMULATED] (is_collecting): Likewise. * pthread_support.c [!AO_HAVE_char_load || BASE_ATOMIC_OPS_EMULATED] (is_collecting): Cast to GC_bool.
Diffstat (limited to 'win32_threads.c')
0 files changed, 0 insertions, 0 deletions