fix threads so that they at least start

allow error handling to work with threads
replace heap_base by Yap_heap_base, according to Yap's convention for globals.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1192 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2004-12-02 06:06:47 +00:00
parent d6bbeaa734
commit 94af3000fe
11 changed files with 809 additions and 792 deletions

View File

@@ -2120,8 +2120,8 @@ void
Yap_ReInitWallTime (void)
{
InitWTime();
if (heap_regs->last_wtime != NULL)
Yap_FreeCodeSpace(heap_regs->last_wtime);
if (Yap_heap_regs->last_wtime != NULL)
Yap_FreeCodeSpace(Yap_heap_regs->last_wtime);
InitLastWtime();
}