Doxygen Source Code Documentation
SHMioc Struct Reference
#include <niml.h>
| Data Fields | |
| int | id | 
| int | bad | 
| int | whoami | 
| char | name [128] | 
| char * | shmbuf | 
| int * | shmhead | 
| int | bufsize1 | 
| char * | buf1 | 
| int * | bstart1 | 
| int * | bend1 | 
| int | bufsize2 | 
| char * | buf2 | 
| int * | bstart2 | 
| int * | bend2 | 
| int | goodcheck_time | 
Detailed Description
The shm segment is split into a 128 byte header and 2 buffers: buf1 is written into by the "w" creator and read by the "r" acceptor; buf2 is written into by the "r" acceptor and read by the "w" creator. Each of these is a circular buffer, as described below. The header currently contains 6 ints. For buf1: size1 = size of buf1 in bytes (fixed by creator) bstart1 = offset into buf1 where good data starts (changed by acceptor) bend1 = offset into buf1 where good data ends (changed by creator) For buf2, a similar triple is set (mutatis mutandum).
Definition at line 295 of file niml.h.
Field Documentation
| 
 | 
| 
 Definition at line 297 of file niml.h. Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_sendall(). | 
| 
 | 
| 
 Definition at line 308 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| 
 Definition at line 313 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| 
 Definition at line 307 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| 
 Definition at line 312 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| 
 Definition at line 306 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_recv(), and SHM_send(). | 
| 
 | 
| 
 Definition at line 311 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_recv(), and SHM_send(). | 
| 
 | 
| 
 Definition at line 305 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| 
 Definition at line 310 of file niml.h. Referenced by SHM_fill_accept(), SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
| 
 | 
| NI_clock_time() of last SHM_goodcheck() Definition at line 315 of file niml.h. Referenced by SHM_goodcheck(), SHM_init(), and SHM_readcheck(). | 
| 
 | 
| 
 Definition at line 296 of file niml.h. Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), and SHM_init(). | 
| 
 | 
| 
 Definition at line 300 of file niml.h. Referenced by SHM_goodcheck(), and SHM_init(). | 
| 
 | 
| 
 Definition at line 302 of file niml.h. Referenced by SHM_close(), SHM_fill_accept(), SHM_goodcheck(), and SHM_init(). | 
| 
 | 
| 
 Definition at line 303 of file niml.h. Referenced by SHM_fill_accept(), and SHM_init(). | 
| 
 | 
| 
 Definition at line 298 of file niml.h. Referenced by SHM_init(), SHM_readcheck(), SHM_recv(), SHM_send(), and SHM_writecheck(). | 
The documentation for this struct was generated from the following file:
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  