diff options
author | Sebastian Kloska <sebastian.kloska@daimler.com> | 2019-09-10 14:25:34 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-09-13 11:56:51 +0900 |
commit | 5f42ef3c92b3a1f5679e92ba3b2bb3a547c16da2 (patch) | |
tree | 229e98a7e06116883b1dae61c47b90ec889fe5db /doc | |
parent | c9d1ba4b522afb79a719daea9e421724299f197f (diff) | |
download | DLT-daemon-5f42ef3c92b3a1f5679e92ba3b2bb3a547c16da2.tar.gz |
Proper setup and error checking of pthread_create
* Replace all start_XXX functions with one start_thread
* Don't make pthread_t static
* Don't use pthread_attr_t. Simply pass NULL
* Bail out when pthread_create() fails
* Check if MAX_THREADS gets exceeded
Signed-off-by: Sebastian Kloska <sebastian.kloska@daimler.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions