From: Matthew Flatt (mflatt at cs.utah.edu) Date: Tue Aug 21 08:51:42 EDT 2012 |
|
At Tue, 21 Aug 2012 14:50:15 +0400, Dmitry Pavlov wrote: > As a general inquiry, what are the rules for GC about > collecting malloc-ed objects? Can I be sure that it does > not collect my vector while the C call or callback who uses > it is still executing? Yes, that's an important guarantee that I will add to the documentation: arguments in a foreign-function call remain reachable until the foreign function returns.
Posted on the users mailing list. |
|