From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,910bed483d0a825,start X-Google-Attributes: gidf678f,public From: Yifei Du/tel 2546 Subject: mq_open question Date: 1996/08/30 Message-ID: <3226A869.41C6@clri6a.gsi.de>#1/1 X-Deja-AN: 177370876 content-type: text/plain; charset=us-ascii organization: GSI mime-version: 1.0 newsgroups: comp.unix.osf.misc x-mailer: Mozilla 3.0b7Gold (X11; I; AIX 2) Hi, experts: Regarding the following source: mqd_t1 = mq_open (MSG__MSG_PATH, O_RDONLY); printf("mq1=%d\n",mqd_t1); mqd_t2 = mq_open (MSG__MSG_PATH, O_RDONLY); printf("mq2=%d\n",mqd_t2); I intent to open twice of a single message queue, and expect to return 2 different message queue descriptor. But unfortunately program only return the same descriptor. Now the problem comes, when I close one of these 2 descriptor, another is not accesible either! My platform is Digital UNIX V3.2D-1 (Rev. 41). What I can do? Thanks in advance. Yifei Du