This is the mail archive of the
mailing list for the Cygwin project.
Re: Issue with shmget
- From: sandeep_222 <sandeep_222 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 29 Jul 2010 22:16:24 -0700 (PDT)
- Subject: Re: Issue with shmget
- References: <email@example.com> <Pine.GSO.firstname.lastname@example.org> <email@example.com> <Pine.GSO.firstname.lastname@example.org> <email@example.com>
I have the same problem. Could you please explicitly specify what commands I
should enter in Cygwin to enable shared memory?
Rahul Gulati wrote:
> Thanks I was able to get over the issue your guess was
> right CYGWIN=server was not set.
> --- Igor Peshansky <firstname.lastname@example.org> wrote:
>> <http://cygwin.com/acronyms/#TOFU> reformatted.
>> On Fri, 23 Jun 2006, Rahul Gulati wrote:
>> > --- Igor Peshansky <pechtcha@XX.XXX.XXX> wrote:
>> > > On Fri, 23 Jun 2006, Rahul Gulati wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I am new to cygwin and trying to port existng
>> > > > based implementation of shared memory on
>> > > >
>> > > > I am having issues with shmget call. I tried
>> to debug
>> > > > and found out that everytime I try to call
>> > > > function I get an error and the main thread
>> > > > Program exited with code 06000
>> > > >
>> > > > cygserver is also running with default options
>> > > > includes :
>> > > > XSI IPC Shared Memory support.
>> > >
>> > > Not nearly enough information, the problem
>> reporting guidelines at
>> > > <http://cygwin.com/problems.html> were not
>> followed (e.g., no attached
>> > > cygcheck output), and your code snippet isn't
>> self-contained, doesn't
>> > > compile (even discounting Yahoo's line wrapping
>> -- next time, please
>> > > attach the code), and doesn't reproduce the bug.
>> In the absense of
>> > > the facts, I can only offer a WAG: does $CYGWIN
>> contain "server" when
>> > > you run your program?
>> > > Igor
>> > Will the system call work if i stop the daemon and
>> > just have cygserver running with default
>> You have not provided enough information for anyone
>> to help you. Please
>> read and follow the instructions at
>> > Problem reports:
>> Moreover, if I understand your question correctly,
>> it does not follow at
>> all from the guess I offered and the question I
>> asked above: when you run
>> your code (the program that you provided a snippet
>> of, not the cygserver
>> daemon), does the environment variable CYGWIN
>> contain the word "server" in
>> it, as mentioned in
>> /usr/share/doc/Cygwin/cygserver.README? FYI,
>> following the instructions above would have provided
>> us with the output of
>> a tool (cygcheck) that would have answered my
>> |\ _,,,---,,_ email@example.com |
>> ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D.
>> (name changed!)
>> |,4- ) )-,_. ,\ ( `'-' old name: Igor
>> '---''(_/--' `-'\_) fL a.k.a
>> JaguaR-R-R-r-r-r-.-.-. Meow!
>> "Las! je suis sot... -Mais non, tu ne l'es pas,
>> puisque tu t'en rends compte."
>> "But no -- you are no fool; you call yourself a
>> fool, there's proof enough in
>> that!" -- Rostand, "Cyrano de Bergerac"
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> 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/
View this message in context: http://old.nabble.com/Issue-with-shmget-tp5019837p29302915.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple