work around MSVC optimizer bug?
svn: r9591
This commit is contained in:
parent
af9d223616
commit
0019a752fa
|
@ -1306,8 +1306,8 @@ inline static void register_new_thread(void *t, void *c)
|
|||
struct gc_thread_info *work;
|
||||
|
||||
work = (struct gc_thread_info *)malloc(sizeof(struct gc_thread_info));
|
||||
work->owner = current_owner((Scheme_Custodian *)c);
|
||||
((Scheme_Thread *)t)->gc_info = work;
|
||||
work->owner = current_owner((Scheme_Custodian *)c);
|
||||
work->thread = t;
|
||||
work->next = threads;
|
||||
threads = work;
|
||||
|
|
Loading…
Reference in New Issue
Block a user