Merged comment cleanup (forgot this before).
[cacao.git] / src / threads / posix / thread-posix.cpp
index eb62ce6a91b4378555768ddf993e8d6888ec8bbb..84603487e29c50a023979176c840f7909dcc5853 100644 (file)
@@ -99,9 +99,6 @@
 #endif
 
 
-// FIXME For now we export everything as C functions.
-extern "C" {
-
 #if defined(__DARWIN__)
 /* Darwin has no working semaphore implementation.  This one is taken
    from Boehm-GC. */
@@ -482,7 +479,7 @@ void threads_impl_thread_clear(threadobject *t)
        t->es = NULL;
 #endif
 
-       MZERO(&t->dumpinfo, dumpinfo_t, 1);
+       // Simply reuse the existing dump memory.
 }
 
 /* threads_impl_thread_reuse ***************************************************
@@ -1580,8 +1577,6 @@ void threads_tlh_remove_frame() {
 
 #endif
 
-} // extern "C"
-
 
 /*
  * These are local overrides for various environment variables in Emacs.