thread support

This commit is contained in:
Vítor Santos Costa 2015-04-13 13:32:32 +01:00
parent ec7ddf0dba
commit ecd980c491

View File

@ -1148,6 +1148,8 @@ p_read_program( USES_REGS1 )
int
Yap_Restore(char *s, char *lib_dir)
{
CACHE_REGS
IOSTREAM *stream = Yap_OpenRestore(s, lib_dir);
if (!stream)
return -1;