Running without these commits, it runs forever.
Running with these commits results in segmentation faults every few minutes
to hours (this is in heavy threaded/lock code: pgsql driver).
I cannot offer a stacktrace yet.
commit 4781e5e4fe034cc8b2acef468131d5dbc51ca21f
Author: Henrik Grubbström (Grubba) <grubba(a)grubba.org>
Date: Sun Jun 28 16:33:02 2020 +0200
Threads.Mutex: Added {try_,}shared_lock().
src/threads.c | 256 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 246 insertions(+), 10 deletions(-)
commit 35fa44331e70809a86a97a91bf80e27a38a6f35b
Author: Henrik Grubbström (Grubba) <grubba(a)grubba.org>
Date: Sat Jun 27 13:58:46 2020 +0200
Thread.Mutex: Keep track of pending locks.
Mutex locks are now taken in the same order as the calls to lock().
This prevents potential starvation.
src/threads.c | 181 +++++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 137 insertions(+), 44 deletions(-)
commit d461910bac03f0fddf714dff8794e73988d07ea6
Author: Henrik Grubbström (Grubba) <grubba(a)grubba.org>
Date: Fri Jun 26 12:34:34 2020 +0200
Thread.Mutex: The key pointer is now to the storage (and not the object).
src/threads.c | 69 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 39 insertions(+), 30 deletions(-)
commit 37406b33d5670026537d4a9aca4776a88a94380b
Author: Henrik Grubbström (Grubba) <grubba(a)grubba.org>
Date: Thu Jun 25 15:37:42 2020 +0200
Build: Fixed some warnings.
src/post_modules/GSSAPI/gssapi.cmod | 1 +
src/post_modules/Nettle/hogweed.cmod | 1 +
src/post_modules/SDL/SDL.cmod | 2 +-
src/post_modules/ZXID/zxid.cmod | 2 +-
4 files changed, 4 insertions(+), 2 deletions(-)
commit ea9a8260156eca36ceb1f555fd1c04c9f1c71685
Author: Henrik Grubbström (Grubba) <grubba(a)grubba.org>
Date: Wed Jun 24 18:16:52 2020 +0200
Thread.MutexKey: Some preparations for having different kinds of keys.
src/threads.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
--
Stephen.