author | G Anthony <a0783926@ti.com> | |
Thu, 14 Mar 2013 18:05:26 +0000 (11:05 -0700) | ||
committer | Chris Ring <cring@ti.com> | |
Sun, 17 Mar 2013 18:16:20 +0000 (11:16 -0700) | ||
commit | 8eb7d0700508d91069b707e2afa695404174fd71 | |
tree | 49762fbca7b21a730517499e590b6fc3a41337b3 | tree | snapshot (tar.xz tar.gz zip) |
parent | a572516df3e1240db015b69370e4e631bff4e636 | commit | diff |
MessageQMulti: Removed result argument from pthread_join() call.
The previous code was incorrect, as the memory returned by pthread_join()
result was never allocated, yet being freed and printed.
Sending in NULL simply avoids the issue. The thread status is printed in
the thread anyways, and only used for informational purposes.
Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
The previous code was incorrect, as the memory returned by pthread_join()
result was never allocated, yet being freed and printed.
Sending in NULL simply avoids the issue. The thread status is printed in
the thread anyways, and only used for informational purposes.
Signed-off-by: G Anthony <a0783926@ti.com>
Signed-off-by: Chris Ring <cring@ti.com>
linux/src/tests/MessageQMulti.c | diff | blob | history |