Merge branch 'master' of ssh://ssh.dcc.fc.up.pt:31064/home/vsc/yap
This commit is contained in:
commit
55ea7d35a3
@ -228,7 +228,7 @@ static Int p_default_arena_size(USES_REGS1) {
|
||||
return Yap_unify(ARG1, MkIntegerTerm(ArenaSz(LOCAL_GlobalArena)));
|
||||
}
|
||||
|
||||
void Yap_AllocateDefaultArena(size_t gsize, int wid) {
|
||||
void Yap_AllocateDefaultArena(Int gsize, Int attsize, int wid) {
|
||||
REMOTE_GlobalArena(wid) = NewArena(gsize, wid, 2, NULL);
|
||||
}
|
||||
|
||||
|
@ -862,6 +862,7 @@ nb_setval('$if_level',0).
|
||||
'__NB_getval__'('$lf_status', TOpts, fail),
|
||||
'$lf_opt'( initialization, TOpts, Ref),
|
||||
nb:nb_queue_close(Ref, Answers, []),
|
||||
writeln(init:Answers),
|
||||
'$process_init_goal'(Answers).
|
||||
'$exec_initialization_goals'.
|
||||
|
||||
@ -1449,7 +1450,9 @@ environment. Use initialization/2 for more flexible behavior.
|
||||
'$initialization_queue'(G) :-
|
||||
b_getval('$lf_status', TOpts),
|
||||
'$lf_opt'( initialization, TOpts, Ref),
|
||||
writeln(G),
|
||||
nb:nb_queue_enqueue(Ref, G),
|
||||
writeln(Ref),
|
||||
fail.
|
||||
'$initialization_queue'(_).
|
||||
|
||||
|
Reference in New Issue
Block a user