Ticket #2228: 0003-posix-timer-Forward-sigev_value-to-sigwaitinfo.patch

File 0003-posix-timer-Forward-sigev_value-to-sigwaitinfo.patch, 855 bytes (added by Daniel Krüger, on Dec 17, 2014 at 12:44:33 PM)
  • cpukit/posix/src/timertsr.c

    From 928436068bad970b907d63ec6cb53160c570541e Mon Sep 17 00:00:00 2001
    From: Daniel Krueger <daniel.krueger@systec-electronic.com>
    Date: Fri, 28 Nov 2014 12:23:38 +0000
    Subject: [PATCH 3/6] posix timer: Forward sigev_value to sigwaitinfo()
    
    Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com>
    ---
     cpukit/posix/src/timertsr.c |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/cpukit/posix/src/timertsr.c b/cpukit/posix/src/timertsr.c
    index a9c1fce..315e738 100644
    a b void _POSIX_Timer_TSR( 
    7272   * specified for that signal is simulated
    7373   */
    7474
    75   if ( kill ( getpid(), ptimer->inf.sigev_signo ) ) {
     75  if ( killinfo ( getpid(), ptimer->inf.sigev_signo, &ptimer->inf.sigev_value ) ) {
    7676    /* XXX error handling */
    7777  }
    7878