Fabio Sobral
2009-03-24 22:54:06 UTC
Hi.
I have an application created in C using only the Windows SDK. I'm using the
waveform api with callback_event and a worker thread both for playing and
recording.
My application runs fine on computers with single core processor and windows
mobiles devices, but it often crashes on multi-core processors.
I tried tracking down the issue, and I think the fault happens in the
message queue loop in the main thread. A simple PeekMessage (no remove),
GetMessage, TranslateMessage and DispatchMessage loop.
How can i fix this problem, or at least signal to the OS to run my
application as single process to avoid this fault while I don't find a better
solution?
Thanks.
I have an application created in C using only the Windows SDK. I'm using the
waveform api with callback_event and a worker thread both for playing and
recording.
My application runs fine on computers with single core processor and windows
mobiles devices, but it often crashes on multi-core processors.
I tried tracking down the issue, and I think the fault happens in the
message queue loop in the main thread. A simple PeekMessage (no remove),
GetMessage, TranslateMessage and DispatchMessage loop.
How can i fix this problem, or at least signal to the OS to run my
application as single process to avoid this fault while I don't find a better
solution?
Thanks.