瀏覽代碼

Update embedded api

svn path=/trunk/mono/; revision=8068
Miguel de Icaza 23 年之前
父節點
當前提交
6424b4cc64
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/embedded-api

+ 6 - 0
docs/embedded-api

@@ -80,6 +80,12 @@
 
 
 		mono_jit_cleanup (domain);
 		mono_jit_cleanup (domain);
 
 
+** Applications that use threads.
+
+	The Boehm GC system needs to catch your calls to the pthreads
+	layer, so in each file where you use pthread.h you should
+	include the <gc/gc.h> file.  
+
 * Exposing C code to the CIL universe
 * Exposing C code to the CIL universe
 
 
 	The Mono runtime provides two mechanisms to expose C code to
 	The Mono runtime provides two mechanisms to expose C code to