Mistři v programování na #hovnokod

Synchronizujeme ve 21. stoleti...

public bool ThreadSleepAndHandleThreadInterruptedException(int timeout, string logMessage)
{
    try 
    {
        Thread.Sleep(milliseconds); 
        return true;
    } 
    catch (ThreadInterruptedException ex) 
    {
        Log.Error(logMessage);
        return false;
    }
}

Anonymous,