c# - Simulating a locked/hung application -


I have an application that interacts with other applications, which otherwise uses SendMessage. Unless the other application hangs (either because it is actually frozen or it is making a long, blocked call) everything is fine. Would I like to simulate an application hanging using a C # WinForms application? Is there any way of blocking calls, running for a long time? Or maybe there is a way of actually applying for freeze? Maybe some such webmail Downloadloading (), but something that will never come back

  while (true) {} // busy wait thread Sleep (time); // Blocked  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -