* bug#55356: join-thread unusable if timeout was hit
@ 2022-05-11 0:42 angry rectangle
0 siblings, 0 replies; only message in thread
From: angry rectangle @ 2022-05-11 0:42 UTC (permalink / raw)
To: 55356
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)
(r)))))
(join-thread t (current-time))
(join-thread t (current-time)) ;; exception here
my guile version: latest git. cc455976813ab94de121395982435430874cbf58
my OS: guix on amd64
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-11 0:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 0:42 bug#55356: join-thread unusable if timeout was hit angry rectangle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).