X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fio-layer%2Fcollection.h;h=95831d3f60ce4849965fff3009575263d48172a0;hb=ca2e502bd07bd2443887c3e7ab3cdf92b73a4bb2;hp=60013ebf3ff35b594b2e5b86fc9731c7999444f2;hpb=b0eff411fcc55fa6a7bbc5ee97bb592fe3204309;p=mono.git diff --git a/mono/io-layer/collection.h b/mono/io-layer/collection.h index 60013ebf3ff..95831d3f60c 100644 --- a/mono/io-layer/collection.h +++ b/mono/io-layer/collection.h @@ -19,18 +19,6 @@ G_BEGIN_DECLS #include -#define _WAPI_HANDLE_COLLECTION_UNSAFE \ - { \ - int _wapi_thr_ret; \ - \ - _wapi_thr_ret = _wapi_shm_sem_lock (_WAPI_SHARED_SEM_COLLECTION); \ - g_assert(_wapi_thr_ret == 0); - -#define _WAPI_HANDLE_COLLECTION_SAFE \ - _wapi_thr_ret = _wapi_shm_sem_unlock (_WAPI_SHARED_SEM_COLLECTION); \ - g_assert (_wapi_thr_ret == 0); \ - } - extern void _wapi_collection_init (void); extern void _wapi_handle_collect (void);