* mq_open question
@ 1996-08-30 4:00 Yifei Du/tel 2546
0 siblings, 0 replies; only message in thread
From: Yifei Du/tel 2546 @ 1996-08-30 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-08-30 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-30 4:00 mq_open question Yifei Du/tel 2546
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox