Last change
on this file since 377 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:
214 bytes
|
Rev | Line | |
---|
[352] | 1 | #include "pthread_impl.h"
|
---|
| 2 |
|
---|
| 3 | int pthread_setschedprio(pthread_t t, int prio)
|
---|
| 4 | {
|
---|
| 5 | int r;
|
---|
| 6 | __lock(t->killlock);
|
---|
| 7 | r = t->dead ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio);
|
---|
| 8 | __unlock(t->killlock);
|
---|
| 9 | return r;
|
---|
| 10 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.