Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MicroThreadFlags.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 
4 using System;
5 
6 namespace SiliconStudio.Core.MicroThreading
7 {
8  [Flags]
9  public enum MicroThreadFlags
10  {
11  None = 0,
12 
13  /// <summary>
14  /// If a faulted <see cref="MicroThread"/> is not being waited on, do not propgate exception outside of <see cref="Scheduler.Run"/>.
15  /// </summary>
16  /// <remarks>
17  /// If an exception happens in a <see cref="MicroThread"/>, two things can happen.
18  /// Either something was waiting on it (i.e. with <see cref="Scheduler.WhenAll"/>), in that case exception will be propagated to waiting code.
19  /// Otherwise, exception will be rethrow outside of <see cref="Scheduler.Run"/>.
20  /// This flags allows exception to be ignored even if nothing was waiting on it.
21  /// </remarks>
22  IgnoreExceptions = 1,
23  }
24 }
Flags
Enumeration of the new Assimp's flags.
If a faulted MicroThread is not being waited on, do not propgate exception outside of Scheduler...