8 #include <mono/io-layer/io-layer.h>
10 /* We're digging into handle internals here... */
11 #include <mono/io-layer/handles-private.h>
12 #include <mono/io-layer/wapi-private.h>
13 #include <mono/io-layer/shared.h>
15 int main (int argc, char **argv)
19 _wapi_shared_layout = _wapi_shm_attach(WAPI_SHM_DATA);
20 if (_wapi_shared_layout == FALSE) {
24 sem_id = semget (_wapi_shared_layout->sem_key, _WAPI_SHARED_SEM_COUNT, 0600);
26 ret = semctl (sem_id, IPC_RMID, 0);
28 g_message ("Error deleting semaphore: %s",