Last change
on this file since 389 was 389, checked in by coas-nagasima, 5 years ago |
ビルドが通るよう更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
208 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "pthread_impl.h"
|
---|
| 2 |
|
---|
| 3 | int pthread_attr_setstacksize(pthread_attr_t *a, size_t size)
|
---|
| 4 | {
|
---|
| 5 | if (size-PTHREAD_STACK_MIN > SIZE_MAX/4) return EINVAL;
|
---|
| 6 | a->_a_stackaddr = 0;
|
---|
| 7 | a->_a_stacksize = size;
|
---|
| 8 | return 0;
|
---|
| 9 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.