Changeset aee3d68 in rtems


Ignore:
Timestamp:
Feb 10, 1999, 5:03:46 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3165b4d3
Parents:
dd746c38
Message:

POSIX timer support modifications.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/pthreadkill.c

    rdd746c38 raee3d68  
    3535    set_errno_and_return_minus_one( EINVAL );
    3636
     37/* commented out when posix timers added
    3738  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO )
    3839    set_errno_and_return_minus_one( ENOSYS );
    39 
    40   /*
    41    *  RTEMS does not support sending  a siginfo signal to a specific thread.
    42    */
     40*/
    4341
    4442  the_thread = _POSIX_Threads_Get( thread, &location );
  • c/src/exec/posix/src/sigaction.c

    rdd746c38 raee3d68  
    2222#include <rtems/posix/seterr.h>
    2323#include <rtems/score/isr.h>
     24
     25/*
     26 * PARAMETERS_PASSING_S is defined in ptimer.c
     27 */
     28
     29extern void PARAMETERS_PASSING_S (int num_signal, const struct sigaction inf);
    2430
    2531int sigaction(
  • c/src/exec/posix/src/sigtimedwait.c

    rdd746c38 raee3d68  
    113113  _Thread_Enable_dispatch();
    114114
     115  /*
     116   * When the thread is set free by a signal, it is need to eliminate
     117   * the signal.
     118   */
     119
     120  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info,
     121                                FALSE, FALSE );
     122
    115123  errno = _Thread_Executing->Wait.return_code;
    116124  return the_info->si_signo;
  • cpukit/posix/src/pthreadkill.c

    rdd746c38 raee3d68  
    3535    set_errno_and_return_minus_one( EINVAL );
    3636
     37/* commented out when posix timers added
    3738  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO )
    3839    set_errno_and_return_minus_one( ENOSYS );
    39 
    40   /*
    41    *  RTEMS does not support sending  a siginfo signal to a specific thread.
    42    */
     40*/
    4341
    4442  the_thread = _POSIX_Threads_Get( thread, &location );
  • cpukit/posix/src/sigaction.c

    rdd746c38 raee3d68  
    2222#include <rtems/posix/seterr.h>
    2323#include <rtems/score/isr.h>
     24
     25/*
     26 * PARAMETERS_PASSING_S is defined in ptimer.c
     27 */
     28
     29extern void PARAMETERS_PASSING_S (int num_signal, const struct sigaction inf);
    2430
    2531int sigaction(
  • cpukit/posix/src/sigtimedwait.c

    rdd746c38 raee3d68  
    113113  _Thread_Enable_dispatch();
    114114
     115  /*
     116   * When the thread is set free by a signal, it is need to eliminate
     117   * the signal.
     118   */
     119
     120  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info,
     121                                FALSE, FALSE );
     122
    115123  errno = _Thread_Executing->Wait.return_code;
    116124  return the_info->si_signo;
Note: See TracChangeset for help on using the changeset viewer.