Name the temporary threads

This commit is contained in:
Christopher Baines 2025-02-04 10:45:52 +00:00
parent 6deeccc22f
commit 9bf4eea2fd

View file

@ -1324,6 +1324,8 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
(let ((channel (make-channel)))
(call-with-new-thread
(lambda ()
(set-thread-name "ds temp")
(parameterize
((current-read-waiter (lambda (port) (port-poll port "r")))
(current-write-waiter (lambda (port) (port-poll port "w"))))