开发者

Any caveats in porting GNU Pth code for Pthreads?

I have code written using GNU Pth ( http://www.gnu.org/software/pth/ ) and I want to move to Pthreads because I want it to be cross-platform (Unix, Mac, Windows).

Are there and caveats I should watch out for while going about switching from Pth to Pthreads, or is it 开发者_开发技巧mostly just a matter of realigning arguments and variable types?


Just to let people know: it is a fairly easy transition. Some of the naming is different, and there are slight differences in argument number and order but they are very similar overall.

Just look up the api docs for both and look up what they do and then compare it to the other api docs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜