Use fork-thread to start new threads to inherit syslog resource.
This commit is contained in:
parent
b5c286e935
commit
63ca4e7c09
|
@ -341,7 +341,7 @@
|
||||||
(lambda (socket address)
|
(lambda (socket address)
|
||||||
(let ((remote-address (socket-address->string address)))
|
(let ((remote-address (socket-address->string address)))
|
||||||
(set-ftp-socket-options! socket)
|
(set-ftp-socket-options! socket)
|
||||||
(spawn
|
(fork-thread
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(handle-connection-encapsulated ftpd-options
|
(handle-connection-encapsulated ftpd-options
|
||||||
socket
|
socket
|
||||||
|
|
|
@ -632,7 +632,7 @@
|
||||||
define-record-types
|
define-record-types
|
||||||
handle-fatal-error
|
handle-fatal-error
|
||||||
threads threads-internal ; last one to get CURRENT-THREAD
|
threads threads-internal ; last one to get CURRENT-THREAD
|
||||||
fluids
|
fluids thread-fluids
|
||||||
locks
|
locks
|
||||||
(subset srfi-13 (string-map string-trim-both string-index))
|
(subset srfi-13 (string-map string-trim-both string-index))
|
||||||
(subset big-util (any? partition-list))
|
(subset big-util (any? partition-list))
|
||||||
|
|
Loading…
Reference in New Issue