next up previous contents index
Next: Generator の起動: generator_unify() Up: ゴールの再開: resume_goals() Previous: 中断構造に対しての処理の概略

resume_goals()の詳細

 

resule_goals()の仕様は以下のようになっている。

Inline q *resume_goals(allocp, x, y)
     q * allocp;
     q x;
     q y;

x は中断レコード、または、generator用の構造(struct generator_susp) を直接差すポインタであり、y は具体化対象となる項である。 allocpはヒープ割付点のアドレスであり、戻り値として、 更新されたヒープ割付点アドレスが返される。



Sekita Daigo
1998-05-18