您的位置:首页 > 运维架构

reason for dead lock, dead looping?

2012-10-15 20:51 141 查看
It seems not everything can be solved by normal windows api.

Like WaitForInputIdle(), even it works well. Like while()-slee() insead. There is still a problem there.

After I got the handle to window class of the new child process's thread's window.

When I move the child process 's window, it can cause dead-lock with some unclear reason.

Because I don't know the routine of the child process window's initiation.

The parent process operating on SetWindowLong(m_hWndChild, ... ) caused the child gui program into dead-lock state

in some sistuations, not always.

I should really hijack api.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: