]> granicus.if.org Git - esp-idf/commit
pthread: Allow configuration of priority and stacksize
authorKedar Sovani <kedars@gmail.com>
Sun, 25 Feb 2018 09:26:04 +0000 (14:56 +0530)
committerKedar Sovani <kedars@gmail.com>
Tue, 20 Mar 2018 12:36:32 +0000 (18:06 +0530)
commit7a0cab0a5b3d2c7208892655eb8ac41cc78bd9cc
tree9fad62c9497a321244b4198628b8362c9293973c
parent7594127ca3c050b7570c07ff5b74cdf2d27f8f24
pthread: Allow configuration of priority and stacksize

The expected usage is:
  esp_pthread_set_cfg(cfg);
  pthread_create()

If the inherit flag is set, then all subsequent threads forked by this
thread will also inherit this configuration. This avoids having to
change/prefix this for each and every pthread_create() call.
components/pthread/component.mk
components/pthread/include/esp_pthread.h [new file with mode: 0644]
components/pthread/pthread.c
docs/Doxyfile
docs/en/api-reference/system/esp_pthread.rst [new file with mode: 0644]
docs/en/api-reference/system/index.rst
docs/zh_CN/api-reference/system/esp_pthread.rst [new file with mode: 0644]