Joey Hess
6107328a6b
avoid spawning new transfer thread until a slot becomes available
2012-07-25 12:07:30 -04:00
Joey Hess
cf47bb3f50
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.
2012-07-18 19:15:34 -04:00
Joey Hess
cc6f660752
fix transfer slots blocking and refilling when transfers are stopped
...
There's a bug, if a transfer process notices it needs to do nothing,
it never starts the transfer, so the slot is never freed.
2012-07-06 21:59:45 -06:00
Joey Hess
430ad8ce85
it builds again
...
Currently nothing waits on transfer processes.
(Second drive of the day fried. Not concentrating very well.)
2012-07-06 16:41:37 -04:00