Re: ContextSwitchDeadlock Problem



"Kalpana" <kalpana@xxxxxxxxxx> wrote in message news:%234G9re2THHA.1364@xxxxxxxxxxxxxxxxxxxxxxx

It is not working.
Is there is any chance of having this problem due to the handles invoked
from WndProc()?

Previoulsy i had a problem with Utilitylibrary.Rebar --> WndProc()
recursive call (deadlock). I posted this problem but no one reply --> so
for the temporary survive i kept a condition for termination (to avoid
deadlock). condition is:
if (m.Msg == (int)Msg.WM_WINDOWPOSCHANGED)
return;
if condition reaches then control will be returned from WndProc().

We realy can't help you if you are only posting some lines of code, what else are you doing after this..
if (m.Msg == (int)Msg.WM_WINDOWPOSCHANGED)
return;
..... // ????

Willy.

.



Relevant Pages

  • Re: [RFC] Thread Migration Preemption - v4
    ... Oleg Nesterov wrote: ... Again, this can deadlock. ... migration_threadis SCHED_FIFO, and it shares the ... chance to finish its critical section. ...
    (Linux-Kernel)
  • Re: Andrea VM changes
    ... > kill, but it fixes the oom ... > practice it may look like a kernel deadlock despite syscalls returns ... The chance the well behaved app gets killed is big, ...
    (Linux-Kernel)
  • Re: [RFC] Thread Migration Preemption - v4
    ... Oleg Nesterov wrote: ... Again, this can deadlock. ... migration_threadis SCHED_FIFO, and it shares the ... chance to finish its critical section. ...
    (Linux-Kernel)
  • Re: Unexpected deadlock
    ... other statement is selecting into. ... Are you by chance using hyperthreading? ... >> deadlock no, unless your insert statement is something like ...
    (microsoft.public.sqlserver.server)