thread yields during egg read
This commit is contained in:
parent
9c8cfa3f2f
commit
8137e8a039
File diff suppressed because it is too large
Load Diff
|
|
@ -43,6 +43,7 @@
|
|||
#include "coordinateSystem.h"
|
||||
#include "pvector.h"
|
||||
#include "dcast.h"
|
||||
#include "thread.h"
|
||||
|
||||
// Because our token type contains objects of type string, which
|
||||
// require correct copy construction (and not simply memcpying), we
|
||||
|
|
@ -1138,6 +1139,7 @@ group:
|
|||
{
|
||||
$$ = egg_stack.back();
|
||||
egg_stack.pop_back();
|
||||
Thread::consider_yield();
|
||||
}
|
||||
;
|
||||
|
||||
|
|
@ -2463,6 +2465,7 @@ table:
|
|||
{
|
||||
$$ = egg_stack.back();
|
||||
egg_stack.pop_back();
|
||||
Thread::consider_yield();
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue