Last change
on this file since 373 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
269 bytes
|
Line | |
---|
1 | #include <signal.h>
|
---|
2 | #include <stdint.h>
|
---|
3 | #include "syscall.h"
|
---|
4 | #include "pthread_impl.h"
|
---|
5 |
|
---|
6 | int raise(int sig)
|
---|
7 | {
|
---|
8 | int tid, ret;
|
---|
9 | sigset_t set;
|
---|
10 | __block_app_sigs(&set);
|
---|
11 | tid = __syscall(SYS_gettid);
|
---|
12 | ret = syscall(SYS_tkill, tid, sig);
|
---|
13 | __restore_sigs(&set);
|
---|
14 | return ret;
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.