All,

After goining through the code of shm.h and shm.c of Cygipc V1.09 that we are 
using, 
we have noticed that in function ShmCtl we have introduced logic to do the 
following:

1. Detach all PIDs from the passed Shared Memory Id.
2. Detach the PID of the process calling this function from all the shared 
memories 
    present in the system.
3. Detach all dead PIDs from the passed Shared Memory Id, if they are left 
unattached
    before dying.
4. Detach all dead PIDs from all the Shared Memories persent in the system, if 
they 
    are left unattached before dying.

If we use Cygserver, can we achive these without making chages to cygserver 
code. 
We would rather be comfortable changing our application code. Can we achieve 
these 
by calling Shmdt function from our application?

Thanks,
Neo.



----- Original Message ----
From: Corinna Vinschen <[EMAIL PROTECTED]>
To: cygwin@cygwin.com
Sent: Tuesday, 6 March, 2007 2:12:02 PM
Subject: Re: Difference Between CYGIPC And CYGServer


On Mar  6 10:46, neo napster wrote:
> When compiling we are getting the following error:
> 
> apitest.c:28:31: ipc.h: No such file or directory
> apitest.c:29:31: shm.h: No such file or directory

These files are under sys, so you have to include sys/ipc.h, sys/shm.h,
etc., as required by SUSv3.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/


                
___________________________________________________________ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html

--
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/

Reply via email to