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.
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.
相关文章推荐
- Mysql加锁过程详解(4)-select for update/lock in share mode 对事务并发性影响
- reason: '[<__NSDictionary0 0x7fda88f00c90> setValue:forUndefinedKey:]: this class is not key value c
- mysql 加锁读Locking Reads (SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE)
- How to: Use SpinLock for Low-Level Synchronization
- yum提示another app is currently holding the yum lock;waiting for it to exit
- waiting for changelog lock.
- For this reason every person covers low-cost diesel powered timepieces today
- People come into your life for a reason
- It has been automatically closed by Proxool for some reason (see logs).
- The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Entitlement "com
- dep waiting for lockfile /go/pkg/dep/sm.lock: Lockfile created, but doesn't exist
- URL access forbidden for unknown reason svn: acces
- kafka consumer 日志疯狂输出 marking the coordinator host:9092 for dead group consumer-test
- Login failed for user ''.Reason:Not associated with a trusted SQL Server connection.
- another app is currently holding the yum lock;waiting for it to exit
- Linux底下安装JDK warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
- KKPasscodeLock for iOS
- drop表提示Waiting for table metadata lock 解决
- Chubby - lock service for loosely-coupled distributed systems
- MySQL出现Waiting for table metadata lock的原因以及解决方法