4.115
Last change
on this file since a0e6c73 was
f9340ed7,
checked in by Sebastian Huber <sebastian.huber@…>, on 12/03/12 at 10:35:43
|
posix: Add and use <rtems/posix/psignalimpl.h>
This file contains the parts of <rtems/posix/psignal.h> that are only
necessary for the POSIX API implementation.
|
-
Property mode set to
100644
|
File size:
910 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2007. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | */ |
---|
9 | |
---|
10 | #if HAVE_CONFIG_H |
---|
11 | #include "config.h" |
---|
12 | #endif |
---|
13 | |
---|
14 | #include <errno.h> |
---|
15 | #include <pthread.h> |
---|
16 | #include <signal.h> |
---|
17 | |
---|
18 | #include <rtems/system.h> |
---|
19 | #include <rtems/score/isr.h> |
---|
20 | #include <rtems/score/thread.h> |
---|
21 | #include <rtems/score/tqdata.h> |
---|
22 | #include <rtems/score/wkspace.h> |
---|
23 | #include <rtems/seterr.h> |
---|
24 | #include <rtems/posix/threadsup.h> |
---|
25 | #include <rtems/posix/psignalimpl.h> |
---|
26 | #include <rtems/posix/pthread.h> |
---|
27 | #include <rtems/posix/time.h> |
---|
28 | #include <stdio.h> |
---|
29 | |
---|
30 | /* |
---|
31 | * _POSIX_signals_Set_process_signals |
---|
32 | */ |
---|
33 | |
---|
34 | void _POSIX_signals_Set_process_signals( |
---|
35 | sigset_t mask |
---|
36 | ) |
---|
37 | { |
---|
38 | ISR_Level level; |
---|
39 | |
---|
40 | _ISR_Disable( level ); |
---|
41 | _POSIX_signals_Pending |= mask; |
---|
42 | _ISR_Enable( level ); |
---|
43 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.