thread support
This commit is contained in:
parent
ec7ddf0dba
commit
ecd980c491
2
C/qlyr.c
2
C/qlyr.c
@ -1148,6 +1148,8 @@ p_read_program( USES_REGS1 )
|
|||||||
int
|
int
|
||||||
Yap_Restore(char *s, char *lib_dir)
|
Yap_Restore(char *s, char *lib_dir)
|
||||||
{
|
{
|
||||||
|
CACHE_REGS
|
||||||
|
|
||||||
IOSTREAM *stream = Yap_OpenRestore(s, lib_dir);
|
IOSTREAM *stream = Yap_OpenRestore(s, lib_dir);
|
||||||
if (!stream)
|
if (!stream)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user