change Yap_init_optyap_global to Yap_init_optyap_data.
This commit is contained in:
parent
de8518cf15
commit
47f7ff0ad7
2
C/init.c
2
C/init.c
@ -1356,7 +1356,7 @@ Yap_InitWorkspace(UInt Heap, UInt Stack, UInt Trail, UInt Atts, UInt max_table_s
|
|||||||
Yap_InitMemory (Trail, Heap, Stack+Atts);
|
Yap_InitMemory (Trail, Heap, Stack+Atts);
|
||||||
#endif /* YAPOR && !THREADS */
|
#endif /* YAPOR && !THREADS */
|
||||||
#if defined(YAPOR) || defined(TABLING)
|
#if defined(YAPOR) || defined(TABLING)
|
||||||
Yap_init_optyap_global(max_table_size, n_workers, sch_loop, delay_load);
|
Yap_init_optyap_data(max_table_size, n_workers, sch_loop, delay_load);
|
||||||
#endif /* YAPOR || TABLING */
|
#endif /* YAPOR || TABLING */
|
||||||
Yap_AttsSize = Atts;
|
Yap_AttsSize = Atts;
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ struct worker WORKER;
|
|||||||
** Global functions **
|
** Global functions **
|
||||||
*******************************/
|
*******************************/
|
||||||
|
|
||||||
void Yap_init_optyap_global(int max_table_size, int n_workers, int sch_loop, int delay_load) {
|
void Yap_init_optyap_data(int max_table_size, int n_workers, int sch_loop, int delay_load) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* global data related to memory management */
|
/* global data related to memory management */
|
||||||
|
@ -33,7 +33,7 @@ void remap_memory(void);
|
|||||||
** opt.init.c **
|
** opt.init.c **
|
||||||
*************************/
|
*************************/
|
||||||
|
|
||||||
void Yap_init_optyap_global(int, int, int, int);
|
void Yap_init_optyap_data(int, int, int, int);
|
||||||
void Yap_init_local(void);
|
void Yap_init_local(void);
|
||||||
void make_root_frames(void);
|
void make_root_frames(void);
|
||||||
#ifdef YAPOR
|
#ifdef YAPOR
|
||||||
|
Reference in New Issue
Block a user