| | |
Using/Omitting pthread_join()
![]() |
When programming with pthreads, you pass the thread a function to run when you create it. When this function is done, is the thread cleaned up automatically? Is it necessary to put
pthread_join() in the calling function somewhere? Is pthread_join only useful when you want to wait for a thread to finish? ![]() |
Similar Threads
- (reformatted) How to return Multi-Dimensional Arrays (C++)
- long distance (Geeks' Lounge)
- General Protection Exception Error Please Help! (C++)
- help debug .... 2 processes not going (C)
- Multithreading problem (C)
- comp freezes while in game (Troubleshooting Dead Machines)
Other Threads in the C Forum
- Previous Thread: type mismatch in redeclaration of 'square' ( function )
- Next Thread: help writing a string to textfile with fprintf
| Thread Tools | Search this Thread |
* ansi api array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copypdffile createcopyoffile createprocess() directory dynamic execv fflush file floatingpointvalidation fork forloop frequency function getlasterror getlogicaldrivestrin givemetehcodez grade graphics gtkgcurlcompiling gtkwinlinux hardware highest histogram homework i/o ide inches infiniteloop initialization input intmain() iso keyboard km license linked linkedlist linux list looping loopinsideloop. lowest matrix microsoft mysql oddnumber open opendocumentformat openwebfoundation pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scanf scheduling segmentationfault send shape single socketprogramming stack standard strchr string suggestions test testautomation threads unix urboc user variable whythiscodecausesegmentationfault win32api windows.h windowsapi





