开发者

DAO large query lockup on Win7 multicore

开发者 https://www.devze.com 2022-12-20 06:54 出处:网络
I have a C++ app that uses a Jet database through D开发者_运维问答AO.Large queries work well up through Vista but lockup under Win7 on a multicore machine.I have tried both jet 3.5 and 4.0.Both fail.I

I have a C++ app that uses a Jet database through D开发者_运维问答AO. Large queries work well up through Vista but lockup under Win7 on a multicore machine. I have tried both jet 3.5 and 4.0. Both fail. I have tried disabling threads in calling prog (my app) - still fails.


Calling SetProcessAffinityMask(1<<GetCurrentProcessorNumber()) is a rather brute-force way of restricting yourself to the current core only. But it's of course better to use a debugger to determine why it locks up. Which two threads deadlock?

0

精彩评论

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