struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS)
This commit is contained in:
2
C/exec.c
2
C/exec.c
@@ -1610,7 +1610,7 @@ Yap_InitYaamRegs(void)
|
||||
int myworker_id = worker_id;
|
||||
pthread_setspecific(Yap_yaamregs_key, (const void *)FOREIGN_ThreadHandle(myworker_id).default_yaam_regs);
|
||||
FOREIGN_ThreadHandle(myworker_id).current_yaam_regs = FOREIGN_ThreadHandle(myworker_id).default_yaam_regs;
|
||||
worker_id = myworker_id;
|
||||
worker_id = myworker_id; /* ricroc: for what I understand, this shouldn't be necessary */
|
||||
#else
|
||||
Yap_regp = &Yap_standard_regs;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user