X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fsources%2Fmono-api-utils.html;h=813fb8d7f0dd76469dd6fd1901c6748ae7b9385f;hb=411a37af27905eaa44dac1a31f6387a11c0b0244;hp=8b013eb0d565620347cc85f78dfea58e31875cfc;hpb=b87c7e29df7d04e3199e224c8b8e9a41292cec1b;p=mono.git diff --git a/docs/sources/mono-api-utils.html b/docs/sources/mono-api-utils.html index 8b013eb0d56..813fb8d7f0d 100644 --- a/docs/sources/mono-api-utils.html +++ b/docs/sources/mono-api-utils.html @@ -1,124 +1,5 @@
MonoBitsets are a set of routines used to manipulate sets - of bits. - -
GHashTable is used when you need to store object - references into a hashtable, objects stored in a - MonoGHashTable are properly tracked by the garbage - collector. - -
The MonoGHashTable data type has the same API as - the GLIB. - -
Raw buffers provide an abstraction to load segments of - files into memory. If the operating system supports it, the - files are not loaded, but are mapped into the address space of - the process (On Unix, this is done using the mmap(2) - system call). - -
Memory pools are a convenient way of tracking memory - allocations that are used for one specific task, they are also - faster than using the standard memory allocation procedures, - as they are designed to be used only by a single thread at a - time. - -
MonoMemPool objects are not thread safe, which - means that you should not share the objects across multiple - threads without providing proper locking around it (unlike - malloc and free which are thread safe). - -
When a MonoMemPool is released with - mono_mempool_destroy all of the of the memory - allocated from that memory pool with - mono_mempool_alloc and mono_mempool_alloc0 - is released. - -