thread yields during egg read

This commit is contained in:
David Rose 2008-08-07 18:45:44 +00:00
parent 9c8cfa3f2f
commit 8137e8a039
2 changed files with 198 additions and 192 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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();
}
;