diff options
author | Vo Trung Chi <chi.votrung@vn.bosch.com> | 2019-10-23 13:17:34 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2020-07-06 10:04:07 +0900 |
commit | a30ad65f297dddcddcf47adc18e267947da6e30c (patch) | |
tree | 2275ae027e890714681350018ecd298938d6625f /doc | |
parent | 55ad53d1db08c00f75f6c5100fe9ede7c5e123fe (diff) | |
download | DLT-daemon-a30ad65f297dddcddcf47adc18e267947da6e30c.tar.gz |
correct errno usage in dlt_stop_threads
Most pthreads functions return 0 on success, and an error number on
failure. Note that the pthreads functions do not set errno. Refer to
man page of pthreads for detail.
So we have to use the return value as the error number instead of errno
variable.
Signed-off-by: Vo Trung Chi <chi.votrung@vn.bosch.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions