This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference Between CYGIPC And CYGServer


On Mar  9 16:41, neo napster wrote:
> 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. 
> Can we know whether the above mentioned points are covered in Cygserver?

Cygserver keeps track of the connected processes and performs a clean-up
when the process terminates.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]