mirror of https://github.com/BOINC/boinc.git
parent
d9ccd0508d
commit
7c141ae135
|
@ -1,5 +1,6 @@
|
||||||
// platform-independent interface to shared memory
|
// platform-independent interface to shared memory
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
#include <sys/shm.h>
|
#include <sys/shm.h>
|
||||||
|
|
||||||
// create a shared-memory segment of the given size.
|
// create a shared-memory segment of the given size.
|
||||||
|
@ -21,3 +22,4 @@ extern int attach_shmem(key_t, void**);
|
||||||
extern int detach_shmem(void*);
|
extern int detach_shmem(void*);
|
||||||
|
|
||||||
extern int shmem_info(key_t key);
|
extern int shmem_info(key_t key);
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue