Skip to content

Commit

Permalink
GCC still doesn't support this_thread::wait_for
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed Aug 29, 2012
1 parent 04fd4a1 commit de196d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ void middleman::operator()(int pipe_fd, middleman_queue& queue) {
// there's not much we can do other than try again
// sleep some time in hope someone releases memory
// while we are sleeping
this_thread::sleep_for(chrono::milliseconds(10));
//this_thread::yield();
break;
}
case EBADF: {
Expand Down

0 comments on commit de196d7

Please sign in to comment.