init_local should be called Yap_init_local to avoid clashesh.
This commit is contained in:
parent
432cce1c49
commit
d9016fa650
@ -2167,7 +2167,7 @@ YAP_Init(YAP_init_args *yap_init)
|
||||
#ifdef YAPOR
|
||||
init_workers();
|
||||
#endif /* YAPOR */
|
||||
init_local();
|
||||
Yap_init_local();
|
||||
#ifdef YAPOR
|
||||
if (worker_id != 0) {
|
||||
#if SBA
|
||||
|
@ -172,7 +172,7 @@ void Yap_init_global(int max_table_size, int n_workers, int sch_loop, int delay_
|
||||
}
|
||||
|
||||
|
||||
void init_local(void) {
|
||||
void Yap_init_local(void) {
|
||||
#ifdef YAPOR
|
||||
/* local data related to or-parallelism */
|
||||
LOCAL = REMOTE + worker_id;
|
||||
|
@ -42,7 +42,7 @@ void error_message(const char *mesg, ...);
|
||||
** ------------ */
|
||||
|
||||
void Yap_init_global(int max_table_size, int n_workers, int sch_loop, int delay_load);
|
||||
void init_local(void);
|
||||
void Yap_init_local(void);
|
||||
void make_root_frames(void);
|
||||
#ifdef YAPOR
|
||||
void init_workers(void);
|
||||
|
Reference in New Issue
Block a user