Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 14:57:01 -0800 (PST)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sig.c
Message-ID:  <200303312257.h2VMv1fc030073@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2003/03/31 14:57:01 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sig.c 
  Log:
   - The siglist in the proc holds signals that were blocked by all threads
     when they were delivered.  In signotify() check to see if we have
     unblocked any of those signals and post them to the thread.
   - Use td_sigmask instead of p_sigmask in all cases.
   - In sigpending return both signals pending on the thread and proc.
   - Define a function, sigtd(), that finds the appropriate thread to deliver
     the signal to if psignal() has been called instead of tdsignal().
   - Define a function, tdsignal(), that delivers a signal to a specific thread
     or if that thread has the signal blocked it may deliver it to the process
     where it will wait for a thread to unblock it.
   - Since we are delivering signals to a specific thread we do not need to
     abort the sleep of all threads.
   - Rename the old tdsignal() to tdsigwakeup().
   - Save and restore the old signal mask to and from the thread.
  
  Revision  Changes    Path
  1.220     +0 -0      src/sys/kern/kern_sig.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303312257.h2VMv1fc030073>