source: rtems/c/src/exec/posix/src/psignalsetprocesssignals.c @ 811fae1

4.104.114.84.95
Last change on this file since 811fae1 was ee979cd, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 17:36:20

Split some more stuff out of psignal.c.

  • Property mode set to 100644
File size: 742 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#include <assert.h>
6#include <errno.h>
7#include <pthread.h>
8#include <signal.h>
9
10#include <rtems/system.h>
11#include <rtems/score/isr.h>
12#include <rtems/score/thread.h>
13#include <rtems/score/tqdata.h>
14#include <rtems/score/wkspace.h>
15#include <rtems/posix/seterr.h>
16#include <rtems/posix/threadsup.h>
17#include <rtems/posix/psignal.h>
18#include <rtems/posix/pthread.h>
19#include <rtems/posix/time.h>
20#include <stdio.h>
21
22/*PAGE
23 *
24 *  _POSIX_signals_Set_process_signals
25 */
26 
27void _POSIX_signals_Set_process_signals(
28  sigset_t   mask
29)
30{
31  ISR_Level  level;
32 
33  _ISR_Disable( level );
34    if ( !_POSIX_signals_Pending )
35      _Thread_Do_post_task_switch_extension++;
36    _POSIX_signals_Pending |= mask;
37  _ISR_Enable( level );
38}
Note: See TracBrowser for help on using the repository browser.