fix a race condition error in rename-test
This commit is contained in:
parent
4aa4012a73
commit
ae1ec6aab4
|
@ -22,10 +22,9 @@
|
|||
|
||||
#define verify_and_block_until_done(tor) \
|
||||
do { \
|
||||
do { tr_wait_msec (10); } while (tor->verifyState != TR_VERIFY_NONE); \
|
||||
tr_torrentVerify (tor); \
|
||||
do { \
|
||||
tr_wait_msec (10); \
|
||||
} while (tor->verifyState != TR_VERIFY_NONE); \
|
||||
do { tr_wait_msec (10); } while (tor->verifyState != TR_VERIFY_NONE); \
|
||||
} while (0)
|
||||
|
||||
#define check_have_none(tor, totalSize) \
|
||||
|
|
Loading…
Reference in New Issue