X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fembedded-api;h=1ed0f5381f101d82198afa674a0a5446d5035dfe;hb=49c0d13a3f9a91df830e68cfeca2f90a2ae67bfa;hp=b8fd31d47fcef7567485518bfb1daa770358bd93;hpb=d4230a9e74c0563aaf231cd3dbaf7437a60ce55e;p=mono.git diff --git a/docs/embedded-api b/docs/embedded-api index b8fd31d47fc..1ed0f5381f1 100644 --- a/docs/embedded-api +++ b/docs/embedded-api @@ -55,7 +55,7 @@ MonoAssembly *assembly; - assembly = mono_domain_assembly_open ("file.dll"); + assembly = mono_domain_assembly_open (domain, "file.dll"); if (!assembly) error (); @@ -80,6 +80,12 @@ 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 file. + * Exposing C code to the CIL universe The Mono runtime provides two mechanisms to expose C code to