public MonoThreadedFiberSynchronizationContext(IMonoThreadFiber dispatcher) { if (dispatcher == null) { throw new ArgumentNullException(nameof(dispatcher)); } _Dispatcher = dispatcher; SetWaitNotificationRequired(); }
public SharedThreadFiberManager(Action <Thread> onCreate = null) { _Fiber = Fiber.CreateMonoThreadedFiber(onCreate); }
public DispatcherExtensionTest() { _Fiber = Fiber.CreateMonoThreadedFiber(); }