Re: [racket-users] call-as-atomic and garbage collection

2015-10-07 Thread Matthew Flatt
At Wed, 7 Oct 2015 08:40:12 +0200, Berthold Bäuml wrote: > does call-as-atomic block garbage collection? No. > I want to call a C function from > Racket which takes a pointer to a struct as an argument. The struct consists > of a mixture of atomic and pointer fields and one of the pointers sh

[racket-users] call-as-atomic and garbage collection

2015-10-06 Thread Berthold Bäuml
Hi, does call-as-atomic block garbage collection? I want to call a C function from Racket which takes a pointer to a struct as an argument. The struct consists of a mixture of atomic and pointer fields and one of the pointers should directly point to a flvector (by using flvector->cpointer) f