run file transfers in threads, not processes
This should fix OSX/BSD issues with not noticing transfer information files with kqueue. Now that threads are used, the thread can manage the transfer slot allocation and deallocation by itself; much cleaner.
This commit is contained in:
parent
eea0a3616c
commit
cf47bb3f50
7 changed files with 29 additions and 53 deletions
|
@ -28,7 +28,6 @@ stubInfo f = TransferInfo
|
|||
, transferRemote = Nothing
|
||||
, bytesComplete = Nothing
|
||||
, associatedFile = f
|
||||
, shouldWait = False
|
||||
}
|
||||
|
||||
{- Adds pending transfers to the end of the queue for some of the known
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue