开发者

Pthread: Does starting location makes a difference

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜