posix.cfg: Add some pthread_attr_* functions. (#1331)
References: http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_attr_setstacksize.html http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread_attr_setguardsize.html
This commit is contained in:
parent
1f1c44a04f
commit
fc7aab220e
|
@ -2928,6 +2928,37 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
|
|||
</arg>
|
||||
<warn severity="style" reason="Obsolescent" alternatives="pthread_attr_getstack"/>
|
||||
</function>
|
||||
<!-- int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); -->
|
||||
<!-- int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize); -->
|
||||
<function name="pthread_attr_setstacksize,pthread_attr_setguardsize">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); -->
|
||||
<!-- int pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize); -->
|
||||
<function name="pthread_attr_getstacksize,pthread_attr_getguardsize">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-null/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int pthread_mutex_init(pthread_mutex_t *restrict mutex, const pthread_mutexattr_t *restrict attr); -->
|
||||
<function name="pthread_mutex_init">
|
||||
<noreturn>false</noreturn>
|
||||
|
|
Loading…
Reference in New Issue