Does Cygwin support System V Message Queues?

Matt England mengland@mengland.net
Wed Aug 3 18:23:00 GMT 2005


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/



More information about the Cygwin mailing list