A simple question. Does it make any difference if one pthread starts multiple sub开发者_高级运维-pthreads? rather than all of them started from the main ?
I consider only performance at this stage. Thanks.
There is no performance difference.
Either way your creating a thread it wont make a difference. It only matters on the efficiency of the pthreads your using in the code.
精彩评论