Skip to content
Snippets Groups Projects
Commit 1cb76b7c authored by Nadav Har'El's avatar Nadav Har'El
Browse files

Fixed two bugs in pthread implementation

1. pthread_join should allow retval=NULL, in which case the return value is
ignored. We therefore need to use void**, not void*&, otherwise passing NULL
causes pthread_join to crash in a strange way.

2. pthread_join forgot to delete the object allocated in pthread_create
parent 4823338d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment