22.07.2013 Views

Download File

Download File

Download File

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

if (*parent_shm == (CHILD_INCREMENT_COUNT +<br />

PARENT_INCREMENT_COUNT))<br />

{<br />

printf("Total of Parent & Child matches SHM value\n");<br />

}<br />

else<br />

{<br />

printf("BUG - Total of Parent & Child DOESNT match SHM<br />

value\n");<br />

}<br />

}<br />

}<br />

exit(0);<br />

/*<br />

Compiling………….<br />

$CC sem.c -o sema<br />

Execution…………..<br />

$ sema<br />

*/<br />

NP Lab Manual , RNEC page: 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!