<Type Name="FiberSchedulerSynchronizationContext" FullName="SpicyPixel.Threading.FiberSchedulerSynchronizationContext">
  <TypeSignature Language="C#" Value="public class FiberSchedulerSynchronizationContext : System.Threading.SynchronizationContext" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FiberSchedulerSynchronizationContext extends System.Threading.SynchronizationContext" />
  <AssemblyInfo>
    <AssemblyName>SpicyPixel.Threading</AssemblyName>
    <AssemblyVersion>1.0.5.34676</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Threading.SynchronizationContext</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>
            Fiber scheduler synchronization context to support task
            synchronization across schedulers or other synchronization
            models.
            </summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public FiberSchedulerSynchronizationContext (SpicyPixel.Threading.FiberScheduler scheduler);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class SpicyPixel.Threading.FiberScheduler scheduler) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="scheduler" Type="SpicyPixel.Threading.FiberScheduler" />
      </Parameters>
      <Docs>
        <param name="scheduler">
            The scheduler to send or post callbacks to.
            </param>
        <summary>
            Initializes a new instance of the <see cref="T:SpicyPixel.Threading.FiberSchedulerSynchronizationContext" /> class.
            </summary>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Post">
      <MemberSignature Language="C#" Value="public override void Post (System.Threading.SendOrPostCallback d, object state);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Post(class System.Threading.SendOrPostCallback d, object state) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="d" Type="System.Threading.SendOrPostCallback" />
        <Parameter Name="state" Type="System.Object" />
      </Parameters>
      <Docs>
        <param name="d">
            Callback to invoke
            </param>
        <param name="state">
            State to pass
            </param>
        <summary>
            Dispatches an asynchronous message to a synchronization context (the <see cref="T:SpicyPixel.Threading.FiberScheduler" />).
            </summary>
        <remarks>
            The scheduler may choose to inline the callback if the Post is
            executed from the scheduler thread.
            </remarks>
      </Docs>
    </Member>
    <Member MemberName="Send">
      <MemberSignature Language="C#" Value="public override void Send (System.Threading.SendOrPostCallback d, object state);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Send(class System.Threading.SendOrPostCallback d, object state) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5.34676</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="d" Type="System.Threading.SendOrPostCallback" />
        <Parameter Name="state" Type="System.Object" />
      </Parameters>
      <Docs>
        <param name="d">
            Callback to invoke
            </param>
        <param name="state">
            State to pass
            </param>
        <summary>
            Dispatches an synchronous message to a synchronization context (the <see cref="T:SpicyPixel.Threading.FiberScheduler" />).
            </summary>
        <remarks>
            The callback is always inlined if Send is executed from the
            scheduler thread regardless of any scheduler specific inline settings.
            Because inlining always occurs when on the scheduler thread, the
            caller must manage stack depth.
            </remarks>
      </Docs>
    </Member>
  </Members>
</Type>
