| | |
Using/Omitting pthread_join()
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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 |
* adobe api append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createcopyoffile createprocess() csyntax database directory dynamic execv feet fgets file floatingpointvalidation fork frequency function getlogicaldrivestrin givemetehcodez global gtkgcurlcompiling gtkwinlinux highest histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer license linked linkedlist linux list lowest matrix meter microsoft mqqueue multi mysql oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scheduling segmentationfault send single socketprogramming stack standard strchr string suggestions system test testautomation testing unix urboc user whythiscodecausesegmentationfault win32api windows.h windowsapi





