moves all vere gc to _raft_grab(), run once after event

This commit is contained in:
Joe Bryan 2019-01-30 16:09:31 -05:00
parent d14df3e581
commit 055f3180aa
2 changed files with 7 additions and 9 deletions

View File

@ -380,12 +380,6 @@ _lo_time(void)
void
u3_lo_open(void)
{
if ( u3C.wag_w & (u3o_debug_ram | u3o_check_corrupt) ) {
//
// Assumption: there are no noun roots outside u3A.
//
u3m_grab(u3_none);
}
#if 0
if ( u3C.wag_w & u3o_debug_cpu ) {
struct itimerval itm_u;
@ -398,6 +392,7 @@ u3_lo_open(void)
itm_u.it_interval.tv_usec);
}
#endif
_lo_time();
}
@ -406,8 +401,6 @@ u3_lo_open(void)
void
u3_lo_shut(c3_o inn)
{
// u3m_grab(u3_none);
// process actions
//
u3_raft_work();

View File

@ -1853,7 +1853,12 @@ _raft_prof(FILE* fil_u, c3_w den, u3_noun mas)
static void
_raft_grab(u3_noun rus)
{
if ( u3_nul != u3A->sac ) {
if ( u3_nul == u3A->sac) {
if ( u3C.wag_w & (u3o_debug_ram | u3o_check_corrupt) ) {
u3m_grab(rus, u3_none);
}
}
else {
c3_w usr_w = 0, man_w = 0, ova_w = 0, sac_w = 0;
FILE* fil_u;