Forcing an app to run single core only?

前端 未结 3 1187
萌比男神i
萌比男神i 2021-01-21 03:26

I have this strange issue with some third party DLL\'s. The third party provider references some open source DLL\'s that have a memory exception whenever I try to use a certain

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-21 04:09

    Personally I'd drop that functionality (you said this is an option). Multi-threading is a very touchy subject and it's obvious the 3rd party DLL isn't written very well.

    You say the issue doesn't appear if you run it on a single core but not seeing a problem doesn't mean you don't HAVE a problem (and threading issues are only rarely seen anyway), so chances are your product might fail because of this every once in a while.

提交回复
热议问题