osu.Framework/Platform/GameHost.cs
/// <summary>
/// Register a thread to be monitored and tracked by this <see cref="GameHost"/>
/// </summary>
/// <param name="thread">The thread.</param>
Register a thread to be monitored and tracked by this
Register a thread to be monitored and tracked by this
public void RegisterThread(GameThread thread)
        {
            threads.Add(thread);
            thread.IsActive.BindTo(IsActive);
            thread.UnhandledException = unhandledExceptionHandler;
            thread.Monitor.EnablePerformanceProfiling = performanceLogging.Value;
        }
public void RegisterThread ( GameThread thread ) { threads . Add ( thread ) ; thread . IsActive . BindTo ( IsActive ) ; thread . UnhandledException = unhandledExceptionHandler ; thread . Monitor . EnablePerformanceProfiling = performanceLogging . Value ; }
Register a thread to be monitored and tracked by this
Register a thread to be monitored and tracked by this
thread
GameThread
None