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) for performance reasons (zero copy).
Due to the mixed fields neither atomic nor non-atomic malloc works (correct?). Is using call-as-atomic the right way to go to avoid garbage collection between setting the pointer field in the struct and calling the C function? Best, Berthold -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.