开发者

Is the FPU control word setting per-thread or per-process?

I ne开发者_JS百科ed to change the FPU control word from its default setting in a multithreaded application. Is this setting per-thread or per-process? Does it have different scopes under Mac OS X and Windows?


It is per-thread on Windows. Not sure about OS-X, surely it does.

Beware the nastiness you can run into if you are using libraries that expect the control word to be set at the default. Almost all of them do.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜