This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Sam, I have tested on Panther (Darwin Kernel Version 7.3.0) and there is no message queue support. The GUIs and decoders will run fine, but not the command line programs. Here is an easy test program to compile and run to tell if/when message queue support exists: ------------------------testmsg.c------------------------------------------ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> /*#include <sys/ipc.h> #include <sys/msg.h>*/ int main() { int nkey, mq; /*int msgflg = IPC_CREAT|0660;*/ int msgflg = 01660; char device[20]; sprintf ( device, "%s", ttyname (2) ); printf("device is %s\n",device); nkey = ftok ( device, 'G' ); /* * Get id of message queue for this key. This queue id is returned * as the channel number. */ mq = msgget ( nkey, msgflg ); if ( mq == -1 ) perror( "msgget" ); else printf("sucessfully created message queue %d\n",mq); } --------------------------end of program-------------------------------- Steve Chiswell Unidata User Support >From: Sam Ng <address@hidden> >Organization: UCAR/Unidata >Keywords: 200403291837.i2TIbnrV004500 >Dr. Chiswell, > >I was wondering if the new version of Darwin 7.3 supports message queues >yet or will it ever? I would rather use Gempak then GrADS to display my >outputs. > >Thanks, > >Sam Ng >-- > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~ >Sam Ng ~~~~~~~~~~~~~~~ >Research Assistant ~~~~~~~~~~~~ >Saint Louis University ~~~~~~~~~ >335 Macelwane Hall ~~~~~~~~ >3507 Laclede Ave. ~~~~~~~ >St. Louis, MO 63103 ~~~~~~~ >(314) 977-3133 FAX (314) 977-3117 ~~~~~~~ >address@hidden ~~~~~~ >http://www.eas.slu.edu/People/Students/SNg/index.html ~~~~~ > ~~~~ >"I had to search my memory as I looked into those eyes. ~~~ >Our lives change like the WEATHER but a legend never dies." ~~~ > ~~ > -- Jimmy Buffett ~ > > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.