GC API: Difference between revisions

126 bytes added ,  11 April 2008
→‎Multithreading: well... that's all i can think of
(simpler API)
(→‎Multithreading: well... that's all i can think of)
Line 249: Line 249:


except that:
except that:
* in C++, <code>gc_resume_request</code> must called even if an exception is thrown; and
* in C++, <code>gc_resume_request</code> must be called whenever control exits the block, even if it exits via an exception, <code>return</code>, <code>break</code>, <code>continue</code>, or <code>goto</code>; and
* the behavior is undefined if the ''&lt;statements&gt;'' contain any identifier starting with <code>_gc_</code>.
* the behavior is undefined if the ''&lt;statements&gt;'' contain any identifier starting with <code>_gc_</code>.


638

edits