[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

deadlock because of WaitForSingleObject



Hi Dave

There is a deadlock while executing a lua script because
of WaitForSingleObject(hHandle, INFINITE). It does not
let windows messages through.

Sure you thought about it. So I'd like to know what was your
idea to not use WaitForSingleObject with a finite timeout
in a loop staying inside while it returns WAIT_TIMEOUT meanwhile
letting messages pass?

Doing so, there could be a possibility to halt or to break
the script execution.

Many thanks for your great software!

Dimitri Makhrov