Starting one proccess from another while a third is locked up

I am programming in VB.NET (2005)

I do not seem to be able to start process B from process A whilst process C is locked up waiting - as it happens - for process A to tell it that process B has started.

From some other behaviours I am guessing that the new process B can not start while another process (C in this case) has not returned from processing a windows message.

I think there is some way for process C to process messages in the windows message loop via a function call (rather than returning) Does anyone know this call - or another way out of my dilemma which does not involve returning from processing its windows message

Many thanks in advance for any help!




Answer this question

Starting one proccess from another while a third is locked up

  • Neil_F

    Are you using thread pooling or creating the new process's individually Semantics, but there is a condition with pooling where threads are put on hold until others finish.


  • myIT_Agent

    Application.DoEvents() processes all Windows messages currently in the message queue.


  • victorashi

    cheers

  • Matthew Halland

    I am not using pooling. I am just starting one proccess from another.



  • Starting one proccess from another while a third is locked up