Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!pacbell.com!pacbell!att!dptg!lzga!bogatko From: bogatko@lzga.ATT.COM (George Bogatko) Newsgroups: comp.unix.wizards Subject: Re: Help needed with System V message queues Summary: PICTURE of how they work (pic file) Keywords: SYSV messagequeue Message-ID: <1991@lzga.ATT.COM> Date: 8 Aug 90 16:38:08 GMT References: <1169@compel.UUCP> Organization: AT&T BL Middletown/Lincroft NJ USA Lines: 237 HI: here is the pic file for the previous article. ******* .nf .PS scale=100 define t851 | [ box invis ht 74 wid 320 with .sw at 0,0 "\fR\s16\&Mapping a Message Queue ID \f1\s0" at 160,62 "\fR\s16\&to A 28 Byte Message\f1\s0" at 160,37 "\fR\s16\&in Kernal Memory\f1\s0" at 160,12 ] | define t850 | [ box invis ht 56 wid 82 with .sw at 0,0 "\fR\s12\&MESSAGE\f1\s0" at 41,47 "\fR\s12\&QUEUE\f1\s0" at 41,28 "\fR\s12\&ID\f1\s0" at 41,9 ] | define t849 | [ box invis ht 96 wid 16 with .sw at 0,0 "\fR\s10\&M\f1\s0" at 8,88 "\fR\s10\&S\f1\s0" at 8,72 "\fR\s10\&G\f1\s0" at 8,56 "\fR\s10\&T\f1\s0" at 8,40 "\fR\s10\&Q\f1\s0" at 8,24 "\fR\s10\&L\f1\s0" at 8,8 ] | define t848 | [ box invis ht 64 wid 8 with .sw at 0,0 "\fR\s10\&.\f1\s0" at 4,56 "\fR\s10\&.\f1\s0" at 4,40 "\fR\s10\&.\f1\s0" at 4,24 "\fR\s10\&\f1\s0" at 4,8 ] | define t833 | [ box invis ht 96 wid 16 with .sw at 0,0 "\fR\s10\&M\f1\s0" at 8,88 "\fR\s10\&S\f1\s0" at 8,72 "\fR\s10\&G\f1\s0" at 8,56 "\fR\s10\&M\f1\s0" at 8,40 "\fR\s10\&N\f1\s0" at 8,24 "\fR\s10\&I\f1\s0" at 8,8 ] | define t829 | [ box invis ht 64 wid 8 with .sw at 0,0 "\fR\s10\&.\f1\s0" at 4,56 "\fR\s10\&.\f1\s0" at 4,40 "\fR\s10\&.\f1\s0" at 4,24 "\fR\s10\&\f1\s0" at 4,8 ] | define t823 | [ box invis ht 96 wid 40 with .sw at 0,0 "\fR\s10\&M\f1\s0" at 20,88 "\fR\s10\&S\f1\s0" at 20,72 "\fR\s10\&G\f1\s0" at 20,56 "\fR\s10\& S \f1\s0" at 20,40 "\fR\s10\&E\f1\s0" at 20,24 "\fR\s10\&G\f1\s0" at 20,8 ] | define t809 | [ box invis ht 64 wid 8 with .sw at 0,0 "\fR\s10\&.\f1\s0" at 4,56 "\fR\s10\&.\f1\s0" at 4,40 "\fR\s10\&.\f1\s0" at 4,24 "\fR\s10\&\f1\s0" at 4,8 ] | define t800 | [ box invis ht 192 wid 16 with .sw at 0,0 "\fR\s10\&M\f1\s0" at 8,184 "\fR\s10\&A\f1\s0" at 8,168 "\fR\s10\&P\f1\s0" at 8,152 "\fR\s10\&P\f1\s0" at 8,136 "\fR\s10\&E\f1\s0" at 8,120 "\fR\s10\&D\f1\s0" at 8,104 "\fR\s10\&\f1\s0" at 8,88 "\fR\s10\&S\f1\s0" at 8,72 "\fR\s10\&L\f1\s0" at 8,56 "\fR\s10\&O\f1\s0" at 8,40 "\fR\s10\&T\f1\s0" at 8,24 "\fR\s10\&S\f1\s0" at 8,8 ] | define m0 | [ box invis ht 96 wid 32 with .sw at 0,0 line from 16,0 to 16,96 line from 0,0 to 32,0 ] | box invis ht 784 wid 512 with .sw at 0,0 t851 with .nw at 114,780 line from 464,688 to 464,648 line -> from 104,624 to 176,624 t850 with .nw at 11,645 box ht 72 wid 104 with .nw at 0,656 t849 with .nw at 456,634 t848 with .nw at 396,474 "\fR\s10\&struct msg\f1\s0" at 400,406 "\fR\s10\&struct msg\f1\s0" at 400,486 "\fR\s10\&struct msg\f1\s0" at 400,518 "\fR\s10\&struct msg\f1\s0" at 400,502 "\fR\s10\&struct msg\f1\s0" at 400,534 "\fR\s10\&struct msg\f1\s0" at 400,550 "\fR\s10\&struct msg\f1\s0" at 400,566 "\fR\s10\&struct msg\f1\s0" at 400,582 "\fR\s10\&struct msg\f1\s0" at 400,598 "\fR\s10\&struct msg\f1\s0" at 400,614 "\fR\s10\&struct msg\f1\s0" at 400,630 "\fR\s10\&struct msg\f1\s0" at 400,662 "\fR\s10\&struct msg\f1\s0" at 400,646 "\fR\s10\&struct msg\f1\s0" at 400,678 line from 360,416 to 440,416 line from 360,480 to 440,480 line from 360,496 to 440,496 line from 360,512 to 440,512 line from 360,528 to 440,528 line from 360,544 to 440,544 line from 360,560 to 440,560 line from 360,576 to 440,576 line from 360,592 to 440,592 line from 360,608 to 440,608 line from 360,624 to 440,624 line from 360,640 to 440,640 line from 360,656 to 440,656 line from 360,672 to 440,672 box ht 288 wid 80 with .nw at 360,688 line from 448,400 to 480,400 line from 448,688 to 480,688 t833 with .nw at 144,590 "\fR\s10\&struct msqid_ds\f1\s0" at 236,570 "\fR\s10\&struct msqid_ds\f1\s0" at 236,594 "\fR\s10\&struct msqid_ds\f1\s0" at 236,618 t829 with .nw at 232,506 box ht 264 wid 112 with .nw at 176,680 line from 176,440 to 288,440 line from 176,512 to 288,512 line from 176,536 to 288,536 line from 176,560 to 288,560 line from 176,584 to 288,584 line from 176,608 to 288,608 line from 176,632 to 288,632 line from 176,656 to 288,656 "\fR\s10\&struct msqid_ds\f1\s0" at 236,666 "\fR\s10\&struct msqid_ds\f1\s0" at 236,642 "\fR\s10\&struct msqid_ds\f1\s0" at 232,426 "\fR\s10\&struct msqid_ds\f1\s0" at 236,522 "\fR\s10\&struct msqid_ds\f1\s0" at 236,546 line from 136,416 to 168,416 line from 136,680 to 168,680 line from 152,416 to 152,488 line from 152,680 to 152,600 line from 296,320 to 296,280 line from 280,320 to 312,320 line from 296,0 to 296,64 line from 280,0 to 312,0 m0 with .nw at 136,96 line from 152,320 to 152,216 line from 136,320 to 168,320 t823 with .nw at 132,202 line from 176,344 to 192,344 line from 176,328 to 176,360 "\fR\s10\&MSGSSZ\f1\s0" at 224,342 line from 272,328 to 272,360 line from 272,344 to 256,344 line from 272,248 to 336,304 dotted line from 336,248 to 496,248 dotted box ht 240 wid 160 with .nw at 336,304 "\fR\s16\&1-8\f1\s0" at 372,273 "\fR\s12\&USED\f1\s0" at 444,273 "\fR\s16\&17-24\f1\s0" at 376,177 "\fR\s12\&USED\f1\s0" at 448,177 "\fR\s12\&USED\f1\s0" at 444,225 "\fR\s16\&9-16\f1\s0" at 376,225 "\fR\s16\&29-32\f1\s0" at 444,125 "\fR\s16\&25-28\f1\s0" at 376,125 "\fR\s12\&WASTED\f1\s0" at 452,89 "\fR\s12\&USED\f1\s0" at 376,89 line from 408,152 to 336,152 dotted line from 408,152 to 408,64 line from 408,152 to 496,152 line from 336,200 to 496,200 dotted "\fR\s12\&8\f1\s0" at 224,233 "\fR\s12\&8\f1\s0" at 224,305 t809 with .nw at 220,94 box ht 320 wid 96 with .nw at 176,320 line from 176,32 to 272,32 line from 176,104 to 272,104 line from 176,128 to 272,128 line from 176,152 to 272,152 line from 176,176 to 272,176 line from 176,200 to 272,200 line from 176,224 to 272,224 line from 176,248 to 272,248 line from 176,272 to 272,272 line from 176,296 to 272,296 "\fR\s12\&8\f1\s0" at 224,281 "\fR\s12\&8\f1\s0" at 224,257 "\fR\s12\&8\f1\s0" at 224,113 "\fR\s12\&8\f1\s0" at 224,13 "\fR\s12\&8\f1\s0" at 224,137 "\fR\s12\&8\f1\s0" at 224,161 "\fR\s12\&8\f1\s0" at 224,185 "\fR\s12\&8\f1\s0" at 224,209 line from 272,152 to 336,64 dotted spline -> from 440,536\ to 512,536\ to 512,376\ to 120,376\ to 120,248\ to 176,248 spline -> from 360,536\ to 312,512\ to 360,488 spline -> from 360,584\ to 320,552\ to 360,536 spline -> from 360,632\ to 328,600\ to 360,584 line -> from 288,624 to 360,632 t800 with .nw at 288,262 "\fR\s10\&SLOT 7\f1\s0" at 532,110 "\fR\s10\&SLOT 6\f1\s0" at 532,178 "\fR\s10\&SLOT 5\f1\s0" at 532,222 "\fR\s10\&SLOT 4\f1\s0" at 532,274 line from 464,400 to 464,528 .PE .fi