Searched refs:shared_gt_h (Results 1 – 3 of 3) sorted by relevance
/dports/astro/cfitsio/cfitsio-3.49/ |
H A D | drvrsmem.c | 35 static int shared_gt_h = SHARED_INVALID; /* handle of global table segment */ variable 132 … if (0 == shmctl(shared_gt_h, IPC_STAT, &ds)) /* get number of processes attached to table */ in shared_cleanup() 138 …{ shmctl(shared_gt_h, IPC_RMID, 0); /* there is a race condition here - time window between shm… in shared_cleanup() 139 shared_gt_h = SHARED_INVALID; in shared_cleanup() 150 shared_gt_h = SHARED_INVALID; in shared_cleanup() 209 …if (SHARED_INVALID == shared_gt_h) /* global table not attached, try to create it in sha… in shared_init() 212 if (SHARED_INVALID == shared_gt_h) /* if failed, try to open as a slave */ in shared_init() 213 … { shared_gt_h = shmget(shared_kbase, shared_maxseg * sizeof(SHARED_GTAB), shared_create_mode); in shared_init() 214 …if (SHARED_INVALID == shared_gt_h) return(SHARED_IPCERR); /* means deleted ID residing in system, … in shared_init() 215 shared_gt = (SHARED_GTAB *)shmat(shared_gt_h, 0, 0); /* attach segment */ in shared_init() [all …]
|
/dports/science/healpix/Healpix_3.50/src/healpy/cfitsio/ |
H A D | drvrsmem.c | 35 static int shared_gt_h = SHARED_INVALID; /* handle of global table segment */ variable 132 … if (0 == shmctl(shared_gt_h, IPC_STAT, &ds)) /* get number of processes attached to table */ in shared_cleanup() 138 …{ shmctl(shared_gt_h, IPC_RMID, 0); /* there is a race condition here - time window between shm… in shared_cleanup() 139 shared_gt_h = SHARED_INVALID; in shared_cleanup() 150 shared_gt_h = SHARED_INVALID; in shared_cleanup() 209 …if (SHARED_INVALID == shared_gt_h) /* global table not attached, try to create it in sha… in shared_init() 212 if (SHARED_INVALID == shared_gt_h) /* if failed, try to open as a slave */ in shared_init() 213 … { shared_gt_h = shmget(shared_kbase, shared_maxseg * sizeof(SHARED_GTAB), shared_create_mode); in shared_init() 214 …if (SHARED_INVALID == shared_gt_h) return(SHARED_IPCERR); /* means deleted ID residing in system, … in shared_init() 215 shared_gt = (SHARED_GTAB *)shmat(shared_gt_h, 0, 0); /* attach segment */ in shared_init() [all …]
|
/dports/astro/py-astropy/astropy-5.0/cextern/cfitsio/lib/ |
H A D | drvrsmem.c | 35 static int shared_gt_h = SHARED_INVALID; /* handle of global table segment */ variable 132 … if (0 == shmctl(shared_gt_h, IPC_STAT, &ds)) /* get number of processes attached to table */ in shared_cleanup() 138 …{ shmctl(shared_gt_h, IPC_RMID, 0); /* there is a race condition here - time window between shm… in shared_cleanup() 139 shared_gt_h = SHARED_INVALID; in shared_cleanup() 150 shared_gt_h = SHARED_INVALID; in shared_cleanup() 209 …if (SHARED_INVALID == shared_gt_h) /* global table not attached, try to create it in sha… in shared_init() 212 if (SHARED_INVALID == shared_gt_h) /* if failed, try to open as a slave */ in shared_init() 213 … { shared_gt_h = shmget(shared_kbase, shared_maxseg * sizeof(SHARED_GTAB), shared_create_mode); in shared_init() 214 …if (SHARED_INVALID == shared_gt_h) return(SHARED_IPCERR); /* means deleted ID residing in system, … in shared_init() 215 shared_gt = (SHARED_GTAB *)shmat(shared_gt_h, 0, 0); /* attach segment */ in shared_init() [all …]
|