コード例 #1
0
        public MonoThreadedFiberSynchronizationContext(IMonoThreadFiber dispatcher)
        {
            if (dispatcher == null)
            {
                throw new ArgumentNullException(nameof(dispatcher));
            }

            _Dispatcher = dispatcher;

            SetWaitNotificationRequired();
        }
コード例 #2
0
 public SharedThreadFiberManager(Action <Thread> onCreate = null)
 {
     _Fiber = Fiber.CreateMonoThreadedFiber(onCreate);
 }
コード例 #3
0
 public DispatcherExtensionTest()
 {
     _Fiber = Fiber.CreateMonoThreadedFiber();
 }