Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Yifei Du/tel 2546 <du@clri6a.gsi.de>
Subject: mq_open question
Date: 1996/08/30	[thread overview]
Message-ID: <3226A869.41C6@clri6a.gsi.de> (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



                 reply	other threads:[~1996-08-30  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox