summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorScott Ferguson <scott.ferguson@unity3d.com>2020-06-22 08:22:57 -0400
committerIvan Maidanski <ivmai@mail.ru>2021-07-28 23:37:00 +0300
commitce05033c1dc3101b5b5d5faf6e9287cec1c36210 (patch)
treefec3ebdc8bc9ee66094f85bb8ac4a0c367f03ebb /AUTHORS
parentb104cdc50404d1f18905cc8f07add407241dfc23 (diff)
downloadbdwgc-ce05033c1dc3101b5b5d5faf6e9287cec1c36210.tar.gz
Avoid initial 3ms pause on world stop/start with GC_retry_signals (Linux)
(a cherry-pick of commit 09d56ab44 from Unity-Technologies/bdwgc) The existing GC_retry_signals case would almost always introduce a 3ms pause when stopping and starting the world. Instead only fallback to that retry case if the threads haven't responded after a timeout. * include/private/gc_priv.h [!NO_CLOCK && (NINTENDO_SWITCH || ((LINUX && __USE_POSIX199309 || CYGWIN32) && _POSIX_TIMERS)] (HAVE_CLOCK_GETTIME): Define. * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL] (WAIT_UNIT, RETRY_INTERVAL): Add comment. * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL && HAVE_CLOCK_GETTIME] (TS_NSEC_ADD): Define. * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL] (resend_lost_signals_retry): New static function. * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL] (GC_stop_world, GC_start_world): Call resend_lost_signals_retry() instead of resend_lost_signals() and suspend_restart_barrier() (if GC_retry_signals).
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions