Name the temporary threads
This commit is contained in:
parent
6deeccc22f
commit
9bf4eea2fd
1 changed files with 2 additions and 0 deletions
|
|
@ -1324,6 +1324,8 @@ SELECT 1 FROM derivation_source_file_nars WHERE derivation_source_file_id = $1"
|
||||||
(let ((channel (make-channel)))
|
(let ((channel (make-channel)))
|
||||||
(call-with-new-thread
|
(call-with-new-thread
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
(set-thread-name "ds temp")
|
||||||
|
|
||||||
(parameterize
|
(parameterize
|
||||||
((current-read-waiter (lambda (port) (port-poll port "r")))
|
((current-read-waiter (lambda (port) (port-poll port "r")))
|
||||||
(current-write-waiter (lambda (port) (port-poll port "w"))))
|
(current-write-waiter (lambda (port) (port-poll port "w"))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue