Re: [EXT] Re: Native threads and GC?

2024-02-13 Thread Durward McDonell
This is all running on 64-bit debian-testing. We call CHICKEN_initialize() and CHICKEN_run() from the thread the chicken code is running in (not the main thread). We did not write this C code, and I suspect that disabling threads might not be worth the effort required (not to mention that I'm

Re: Native threads and GC?

2024-02-13 Thread felix . winkelmann
> We have a (32-bit, fwiw) C program that we are attempting to augment with a > CS function. The program runs in ~17 native threads, but our function only > runs in one of those threads. We call > > CHICKEN_initialize(0, 0, 0, C_toplevel); > CHICKEN_run(C_toplevel); > > after the thread

Native threads and GC?

2024-02-13 Thread Durward McDonell
Hello. We have a (32-bit, fwiw) C program that we are attempting to augment with a CS function. The program runs in ~17 native threads, but our function only runs in one of those threads. We call CHICKEN_initialize(0, 0, 0, C_toplevel); CHICKEN_run(C_toplevel); after the thread is