What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

About interface blocked

Status
Not open for further replies.

FuelLoco

New Member
Joined
May 9, 2015
Messages
15
Reaction score
0
Hello for all

I have a question.
When i use while for a loop in a pluin code, can it blocked the interface?

Because I already review all the code and the unique think that can do it in my code is that.

Anyway if someone can tell me what things can usually block the interface pls tell me and If "while" can bocked the interface how i can resolve it?

Note: I used the Visual Studio to do the interface and edit all code before pass to the Pluin Editor of Archebuddy for compile it.

Thanks.
 
Code:
while(true)
{
     //Do Things here


     Thread.Sleep(10); // Sleep to stop the UI from freezing up
}
 
Status
Not open for further replies.
Back
Top