Skip to content

Commit

Permalink
Change sleep to usleep since sleep does not accept float input.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxuanyuan committed Sep 19, 2017
1 parent e6df15d commit 7715825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/tree/src/TTreeCacheUnzip.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ Int_t TTreeCacheUnzip::GetUnzipBuffer(char **buf, Long64_t pos, Int_t len, Bool_
UnzipCache(reqi, locbuffsz, locbuff);
}
} else {
sleep(0.2);
usleep(200000);
}

if ( myCycle != fCycle ) {
Expand Down

0 comments on commit 7715825

Please sign in to comment.