[Bug 268532] [libthr] pthread_mutex_destroy/pshared_gc slow when destroying many process shared locks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Sep 2023 06:05:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268532
Atle <atle.solbakken@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #238992|0 |1
is obsolete| |
--- Comment #3 from Atle <atle.solbakken@gmail.com> ---
Created attachment 245177
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245177&action=edit
Patch with saving last timestamp after iteration instead of before
Thanks for the suggestion.
I've moved the store of the last iteration time to after the GC-ing. Now, in
the situation of GC-ing being slow, we will still wait a consistent amount of
time before doing it again.
--
You are receiving this mail because:
You are the assignee for the bug.