version 1.1.1.1.2.1, 2008/09/30 20:19:48
|
version 1.1.1.1.2.2, 2008/10/13 18:22:01
|
Line 397 inline void ipc_detachSession(tagSess * __restrict s)
|
Line 397 inline void ipc_detachSession(tagSess * __restrict s)
|
} |
} |
} |
} |
|
|
|
/* |
|
* isAttached() Check for mapped/(attached) shared memory |
|
* @s = Session item |
|
* return: -1 null session item, 0 not attached, 1 attached memory |
|
*/ |
|
inline int isAttached(tagSess * __restrict s) |
|
{ |
|
if (!s) |
|
return -1; |
|
|
|
return (s->addr ? 1 : 0); |
|
} |
|
|
|
|
/* |
/* |
* map_notSemaphore() MMAP negative block if semaphore isn`t signaled |
* map_notSemaphore() MMAP negative block if semaphore isn`t signaled |