fix thread stuff (obs from Jiefei Ma).

This commit is contained in:
Vitor Santos Costa
2009-12-17 23:55:09 -02:00
parent 5b8dc25eff
commit 79a1d3e13c
8 changed files with 34 additions and 24 deletions

View File

@@ -44,10 +44,6 @@
#ifndef WL
#define WL wl
#endif
#endif
#ifdef THREADS
lockvar thread_handles_lock;
struct thandle thread_handle[MAX_THREADS];
#endif
UInt hole_size;
@@ -329,3 +325,8 @@
ADDR foreign_code_base;
ADDR foreign_code_top;
ADDR foreign_code_max;
#ifdef THREADS
lockvar thread_handles_lock;
struct thandle thread_handle[MAX_THREADS];
#endif