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.
This commit is contained in:
Kedar Sovani
2018-02-25 14:56:04 +05:30
parent 7594127ca3
commit 7a0cab0a5b
7 changed files with 185 additions and 4 deletions
+1 -1
View File
@@ -4,6 +4,6 @@
COMPONENT_SRCDIRS := .
#COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_ADD_LDFLAGS := -lpthread