diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-20 13:15:22 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-20 13:15:22 +0100 |
commit | b4b111a053a5e2aacd036508899277022914ae8f (patch) | |
tree | 405b15fc7133b82497a2a0c361c3c17015c3be16 /common/router1.cc | |
parent | b84a446eeff080715ba0b4b98c14822f0e3f8530 (diff) | |
download | nextpnr-b4b111a053a5e2aacd036508899277022914ae8f.tar.gz nextpnr-b4b111a053a5e2aacd036508899277022914ae8f.tar.bz2 nextpnr-b4b111a053a5e2aacd036508899277022914ae8f.zip |
Move pthread yield hack into BaseCtx
Diffstat (limited to 'common/router1.cc')
-rw-r--r-- | common/router1.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/router1.cc b/common/router1.cc index bde3be31..3a0aa19b 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -495,6 +495,7 @@ bool router1(Context *ctx) #endif return false; } + ctx->yield(); ctx->lock(); iterCnt++; |