CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [EMAIL PROTECTED]       2005-09-28 22:56:47

Modified files:
        cygwin         : ChangeLog fhandler_fifo.cc pinfo.cc pinfo.h 
                         sigproc.cc 
        cygwin/include/cygwin: signal.h 

Log message:
        Change name from commune_recv to commune_process throughout.  Change 
name from
        commune_send to commune_request throughout.
        * pinfo.h (PICOM_EXTRASTR): New flag.
        (PICOM_FIFO): Define with new flag.
        (_pinfo::hello_pid): Delete.
        (_pinfo::tothem): Delete.
        (_pinfo::fromthem): Delete.
        (_pinfo::commune_process): Rename from commune_recv.  Add a siginfo_t 
argument
        to declaration.
        (_pinfo::commune_request): Rename from commune_send.  Change DWORD to
        __uint32_t in declaration.
        * pinfo.cc (_pinfo::commune_process): Rename from commune_recv.  Add 
siginfo_t
        argument.  Use information from argument rather than reading from 
another pipe.
        Synchronize with other process's commune event.
        (_pinfo::commune_request): Rename from commune_send.  Change DWORD to 
__uint32
        in argument.  Fill out information in new siginfo_t element and rely on
        extended operation of sig_send rather than trying to deal with 
synchronization
        issues here.  Use process handle and read pipe information filled out by
        sig_send to gather information from the other process.
        * sigproc.cc (sig_send): Take special action if "communing" to ensure
        synchronization with the other process and to return information about 
the
        other process to the caller.
        (talktome): Accept a siginfo_t and handle arguments.  Read additional
        information from the signal pipe when _si_commune._si_code has the
        PICOM_EXTRASTR flag set.
        (wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to
        talktome.  Close pipe read handle as soon as possible after we detect 
that
        we're exiting.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.3135&r2=1.3136
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_fifo.cc.diff?cvsroot=uberbaum&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaum&r1=1.198&r2=1.199
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.h.diff?cvsroot=uberbaum&r1=1.89&r2=1.90
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/sigproc.cc.diff?cvsroot=uberbaum&r1=1.254&r2=1.255
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/signal.h.diff?cvsroot=uberbaum&r1=1.6&r2=1.7

Reply via email to