- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
public void newMessageTrySafe(Message message)
{
if (SeparateThread.Wait(100, 5, new ExitWaitDelegate(this.)))
{
try
{
this.newMessage(message);
}
catch (Exception exception)
{
Utils.log("DataCache.newMessage() error: " + exception.Message, new object[0]);
}
try
{
Monitor.Exit(this.FRecalcSynchronizer);
return;
}
catch (SynchronizationLockException)
{
return;
}
}
Utils.log("newMessageTrySafe(): Deadlock! Unable to call newMessage bacause it's locked by this thread", new object[0]);
}
guest 29.05.2009 23:43 # +1
говнокодеры, идут за динозаврами в эротическое путешествие )))