Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: "Matthew England" Message-Id: <6.1.2.0.2.20050803131011.04a04968@127.0.0.1> X-Sender: mail.core.com:mme AT 127 DOT 0 DOT 0 DOT 1 Date: Wed, 03 Aug 2005 13:14:11 -0500 To: cygwin AT cygwin DOT com From: Matt England Subject: Does Cygwin support System V Message Queues? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-IsSubscribed: yes Hello, Does Cygwin support System V Message Queues as per the following link? http://biology.ncsa.uiuc.edu/library/SGI_bookshelves/SGI_Developer/books/T_IRIX_Prog/sgi_html/ch06.html ie: msgctl(), msgsnd(), msgrcv(), msgget() If not the SysV/msg*() stuff, then possible the POSIX Message Queue stuff (ie, the mq_*() functions)? My software-development group has build a Linux-and-BSD based IPC architecture based in part on System V Message Queues. I'd like to be able to demo and test this software on Windows machines if possible, although this is a not a production-system requirements (it's mostly for sales demos and ease-of-testing). We have compiled and run one of our programs under cygwin and we the following strace output: 2542 522130 [main] c_msgget 1532 dll_crt0_1: user_data->main 0x401060 2351 524481 [main] c_msgget 1532 wait_for_sigthread: wait_sig_inited 0x718 3068 527549 [main] c_msgget 1532 msgget: msgget (key = 0, msgflg = 0x180) 2423 529972 [main] c_msgget 1532 cygserver_init: cygserver use disabled in client 2372 532344 [main] c_msgget 1532 client_request::make_request: cygserver un-available 2367 534711 [main] c_msgget 1532 msgget: -1 [88] = msgget () 2344 537055 [main] c_msgget 1532 kill0: kill (1532, 12) 2347 539402 [main] c_msgget 1532 sig_send: sendsig 0x6F8, pid 1532, signal 12, its_me 1 2941 542343 [main] c_msgget 1532 sig_send: wakeup 0x718 This comes from one of the sample programs from the biology.ncsa.uiuc.edu link above. We see "cygserver use disabled in client"; what is cygserver? Is it additional software we must install? I also see: $ ipcs Bad system call $ which ipcs /usr/bin/ipcs If I knew a way to describe which version of cygwin (.dll?) is installed, I'd present it here (I'd actually like to know how to do this in general). My install comes from a full download of cygwin.com from a couple months ago. -Matt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/