hash_node = mono_gc_alloc_fixed (sizeof (MonoGHashNode), NULL);
}
}
+#else
+#ifdef _EGLIB_MAJOR
+ G_LOCK (g_hash_global);
+ if (node_free_list)
+ {
+ hash_node = node_free_list;
+ node_free_list = node_free_list->next;
+ }
+ else
+ {
+ hash_node = g_new0 (MonoGHashNode, 1);
+ }
+ G_UNLOCK (g_hash_global);
#else
G_LOCK (g_hash_global);
if (node_free_list)
hash_node = g_chunk_new (MonoGHashNode, node_mem_chunk);
}
G_UNLOCK (g_hash_global);
+ #endif
#endif
hash_node->key = NULL;