Partial Branch Sync
This commit is contained in:
parent
4718a4b911
commit
1ef98f10ec
32 changed files with 166 additions and 102 deletions
|
|
@ -317,6 +317,7 @@ namespace Server
|
|||
}
|
||||
|
||||
private static AutoResetEvent m_Signal = new AutoResetEvent( true );
|
||||
public static void Set() { m_Signal.Set(); }
|
||||
|
||||
public void TimerMain()
|
||||
{
|
||||
|
|
@ -324,10 +325,8 @@ namespace Server
|
|||
int i, j;
|
||||
bool loaded;
|
||||
|
||||
while ( !Core.Closing )
|
||||
while ( m_Signal.WaitOne( 10, false ) && !Core.Closing )
|
||||
{
|
||||
m_Signal.WaitOne( 10, false );
|
||||
|
||||
ProcessChangeQueue();
|
||||
|
||||
loaded = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue