fix global variable core dump in threaded yapor.

This commit is contained in:
Vítor Manuel de Morais Santos Costa
2010-01-29 18:09:07 +00:00
parent 404331ac0f
commit 10744069fc
2 changed files with 16 additions and 15 deletions

View File

@@ -172,10 +172,6 @@ low_level_trace(yap_low_level_port port, PredEntry *pred, CELL *args)
LOCK(Yap_heap_regs->low_level_trace_lock);
sc = Yap_heap_regs;
vsc_count++;
if (vsc_count < 637746000LL)
return;
if (vsc_count == 637746933LL)
jmp_deb(1);
#ifdef THREADS
Yap_heap_regs->thread_handle[worker_id].thread_inst_count++;
#endif