0

I have a C++ app that uses a Jet database through DAO. 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.

4

1 回答 1

0

调用SetProcessAffinityMask(1<<GetCurrentProcessorNumber())是将自己限制在当前核心的一种相当蛮力的方式。但当然最好使用调试器来确定它锁定的原因。哪两个线程死锁了?

于 2010-02-18T10:06:11.580 回答