delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/03/14:23:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <mengland AT mengland DOT net>
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 <mengland AT mengland DOT net>
Subject: Does Cygwin support System V Message Queues?
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019