delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=NI3NW1659hqR7R8qyAVdkucwjG+I6L15Hwtficf6ZwL4aZTTfxIij | |
VegnmIsRsBa7IUrqUh+sNSnXmM4mfAfamDMPxb2ps4HdROqGaTPErwi+O1Xz0I/e | |
UQG8n1yv4WF+E2hKXlugxqUm2bXHqT4EGqMxyoBo95UfBHmFxi1WE4= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=YALVp77Q4UbMZxp5v3DHl/L67Mw=; b=Y8AiEGvRj1aeRgdHa3fiHzn3md+F | |
C6Sg1bs0ICyKwyVJckmj9ws+0dcUfNqEhmdqG5zebFAn/esNNt1e/V5wDSOHeeUG | |
C1mX5DtNtoPrTS4lAm4EVWkiJ6KgbaY5gSkQu5EEq3MpbuBt57vHpsgJVJIRDmxA | |
/aE2Hxdx1TIO+uw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-101.8 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=NOTIFY, advance!, ltr, onep"This |
X-HELO: | mout.kundenserver.de |
Date: | Tue, 13 Aug 2019 12:49:09 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | nilesh gharde <nileshgharde23 AT gmail DOT com> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: mq_notify api of mqueue.h does not work |
Message-ID: | <20190813104909.GV11632@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | nilesh gharde <nileshgharde23 AT gmail DOT com>, cygwin AT cygwin DOT com |
References: | <CALJxx8q4NN5fjSSPHd=52c-f2a5WLcm+V9_O4_KQKgzRhwc9Ag AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CALJxx8q4NN5fjSSPHd=52c-f2a5WLcm+V9_O4_KQKgzRhwc9Ag@mail.gmail.com> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--4ds4tGy7aNC8MgBu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 12 23:32, nilesh gharde wrote: > Hi, >=20 > I am using windows 10 and installed msys2 which internally uses "Cygwin > code base" to have ENV same as my linux machine. > I have implemented an IPC mechanism based on mqueue Apis. I see few mqueue > api's work properly like create and send as I can see the "/my_queue_name" > gets created under "/dev/mqueue/my_queue_name" and I see some data which I > put there. But I see the behavior is kind of diff with msys2 on windows. >=20 > Windows Machine: > $ ls -ltr > total 4 > -rw-r--r-- 1 ngharde Domain Users 1296 Aug 11 17:58 Niles > $ cat Niles > d=E2=96=92=E2=96=921F734DB930DC569D000000001B1061BF=E2=96=92) @2tv <https= ://github.com/2tv>=E2=96=92=E2=96=92This > is nilesh string onep"This is > nilesh stting two nfnslfn"This is nilesh stting two nfnslfnX=E2=96=92@=E2= =96=92(=E2=96=92 > [When I do cat I see this crap + my added data with send API] >=20 > LINUX machine Ubuntu 16.04.6 LTS > >ls -ltr > total 0 > -rw-r--r-- 1 ngharde users 80 Aug 5 19:27 Niles > > cat Niles > QSIZE:0 NOTIFY:0 SIGNO:0 NOTIFY_PID:0 > [Here I see info. about which PID is kind of waiting on this queue to get > notified ] >=20 > The behavior where a process subscribe to get notified if there some msg = in > the queue kind of works correctly in my Linux machine, but on windows with > msys2 that behavior I am not able to achieve. > code path: > https://github.com/Nilesh1992/Personal_Project/blob/master/mq_ipc/src/mq_= ipccore.cpp >=20 > Thanks in advance! Can you please create a simple, self-contained testcase in plain C? Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --4ds4tGy7aNC8MgBu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1SlaUACgkQ9TYGna5E T6BD9g//ZgXmSNkC3W7ecvBi2uZSsc80RopK7u0TH65SoJgGbzpYceqQcq5wkT94 HbeJMYEiPsdrQ7oNBHpDywY6QQTzVuuXwHmdO3xGGeEvupChQntdPkWq8d7FANuT vbp5lQQ24JWJ2YJICe/7u42W3uRdM9Dxyaz+4/1Gl+iN6M6DayviB7cvXX3IUeEo ZDFFT/GuFnTCKE+T+kpj7Zd7/reOTswqdaa2LhcKVG5z+pQzleL7Qq5te6T24Rbr grjA7NJonv2/I42uwXFEo7G15zJzHYquMGV1snUYqIvwW8uxJejCHNO+dcKf12uj O/dv3XOPY5+dZvfDYhH850Hl+Nl/gW+RRFZ+gIi/evH1BTrVfPO0hWTDXlhXTj3y XhLkZyxtnpYRnOTLUiNlTfSbViJiO7aytoRTwbRxQSvFnhZDHD66C70L9AJWpJsQ rZdKkBrJHQhgAMYwok87MfDNu3DUbCHXVXR2X+aaeBEGXuWkR7nes+vW/60Uj+t6 gMLdnt5DEnqcZvmkNZTjV2zAr6sCj+aCjRXwwN+uDImhWULg/YrA9jwYdpnI3gi/ HlSnHX/sybcf9AuyyACQmiWTugBc0mts5cwo5Vy7nXkJCOd/vep9nHHHiZb/14fa MWIinn/wjwXA27cnhcouV8t3YYuJNsIZLSUttVqmy8blBhIqS0w= =/6Yj -----END PGP SIGNATURE----- --4ds4tGy7aNC8MgBu--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |