MCPcopy Create free account
hub / github.com/apache/nuttx / pthread_attr_setstacksize

Function pthread_attr_setstacksize

libs/libc/pthread/pthread_attr_setstacksize.c:52–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 ****************************************************************************/
51
52int pthread_attr_setstacksize(FAR pthread_attr_t *attr, size_t stacksize)
53{
54 int ret;
55
56 if (!attr || stacksize < PTHREAD_STACK_MIN)
57 {
58 ret = EINVAL;
59 }
60 else
61 {
62 attr->stacksize = stacksize;
63 ret = OK;
64 }
65
66 return ret;
67}

Callers 15

classd_startFunction · 0.85
cxd56_src_initFunction · 0.85
cxd56_init_workerFunction · 0.85
null_startFunction · 0.85
cs4344_startFunction · 0.85
es8311_startFunction · 0.85
cs43l22_startFunction · 0.85
es8388_startFunction · 0.85
wm8994_startFunction · 0.85
wm8904_startFunction · 0.85
vs1053_startFunction · 0.85
wm8776_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected