Moved the code that checks for finished file-lists, for finished "redo"
authorWayne Davison <wayned@samba.org>
Tue, 30 Jan 2007 03:57:48 +0000 (03:57 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 30 Jan 2007 03:57:48 +0000 (03:57 +0000)
commit7730114b308fa9a6d66a84ba72bebce0aee571cb
tree12b8c449b2a2b002b42ff0cdeaaecef080b577ab
parent7a2fa0c2d3ffa9288140b738b65e4eabb7e596c2
Moved the code that checks for finished file-lists, for finished "redo"
sends, and finished hard-links into check_for_finished_files(), a new
function that takes the place of check_for_finished_hlinks().  This
lets us signal the sender more rapidly when a file-list is done (which
ensures that it sends us more work to do in a timely manner), and also
avoids two potential deadlocks in the old code.
generator.c