fix bug in thread initialization.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1629 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
174a2c4518
commit
034e780548
1
C/exec.c
1
C/exec.c
@ -1803,6 +1803,7 @@ Yap_InitYaamRegs(void)
|
|||||||
WPP = NULL;
|
WPP = NULL;
|
||||||
PREG_ADDR = NULL;
|
PREG_ADDR = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
Yap_PreAllocCodeSpace();
|
||||||
#ifdef CUT_C
|
#ifdef CUT_C
|
||||||
cut_c_initialize();
|
cut_c_initialize();
|
||||||
#endif
|
#endif
|
||||||
|
@ -162,6 +162,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
|||||||
sc = Yap_heap_regs;
|
sc = Yap_heap_regs;
|
||||||
vsc_count++;
|
vsc_count++;
|
||||||
#ifdef COMMENTED
|
#ifdef COMMENTED
|
||||||
|
if (worker_id != 04 || worker_id != 03) return;
|
||||||
// if (vsc_count == 218280)
|
// if (vsc_count == 218280)
|
||||||
// vsc_xstop = 1;
|
// vsc_xstop = 1;
|
||||||
if (vsc_count < 1468068888) {
|
if (vsc_count < 1468068888) {
|
||||||
@ -239,7 +240,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
fprintf(Yap_stderr,"%lld %x ", vsc_count,ActiveSignals);
|
fprintf(Yap_stderr,"%lld ",vsc_count);
|
||||||
#if defined(THREADS) || defined(YAPOR)
|
#if defined(THREADS) || defined(YAPOR)
|
||||||
fprintf(Yap_stderr,"(%d)", worker_id);
|
fprintf(Yap_stderr,"(%d)", worker_id);
|
||||||
#endif
|
#endif
|
||||||
@ -322,6 +323,7 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
fflush(NULL);
|
||||||
UNLOCK(Yap_heap_regs->low_level_trace_lock);
|
UNLOCK(Yap_heap_regs->low_level_trace_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
<h2>Yap-5.1.2:</h2>
|
<h2>Yap-5.1.2:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li> FIXED: AuxSp was not properly initialised for new threads (obs Paulo Moura).</li>
|
||||||
<li> FIXED: recusive indexing over unbound compound terms was broken
|
<li> FIXED: recusive indexing over unbound compound terms was broken
|
||||||
(obs Ricardo Lopes).</li>
|
(obs Ricardo Lopes).</li>
|
||||||
<li> FIXED: toplevel_print_options and debugger_print_options was
|
<li> FIXED: toplevel_print_options and debugger_print_options was
|
||||||
@ -25,7 +26,6 @@ broken and undocumented (obs Ashwin Srinivasan).</li>
|
|||||||
<li> FIXED: memory corruption when copying consult stack (obs Paulo Moura).</li>
|
<li> FIXED: memory corruption when copying consult stack (obs Paulo Moura).</li>
|
||||||
<li> FIXED: get rid of some silly locks.</li>
|
<li> FIXED: get rid of some silly locks.</li>
|
||||||
<li> FIXED: don't compare block top with <= (obs Paulo Moura).</li>
|
<li> FIXED: don't compare block top with <= (obs Paulo Moura).</li>
|
||||||
>>>>>>> 1.66
|
|
||||||
<li> FIXED: ! was not pruning right in p_execute_clause (obs Nicos
|
<li> FIXED: ! was not pruning right in p_execute_clause (obs Nicos
|
||||||
Angelopoulos).</li>
|
Angelopoulos).</li>
|
||||||
<li> FIXED: system/1 and shell/1 should check return code (obs Nicos
|
<li> FIXED: system/1 and shell/1 should check return code (obs Nicos
|
||||||
|
Reference in New Issue
Block a user