If join-thread is called after a previous call to join-thread hits the timeout,
a "mutex already locked by thread" error is thrown.
Working example:
(use-modules (ice-9 threads))
(define t (call-with-new-thread
(lambda _
(let r ()
(sleep 1)
(
(hmm... resending this because it didnt work. hopefully i'm doing it right this
time.)
It looks like guile's compiler and optimizer could be replacing the `getuid'
and `setuid' calls with constant, compile-time values.
Here is a test I performed:
1. Make directory with 770 owned by root and the