Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 883 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 883 Bytes

.NET Custom SynchronizationContext sample codes.

NOTE: Introduce new library Lepracaun, it is a successor of SynchContextSample library. It has some fixed problems and easier manipulations.

What is this?

  • How to implements your own custom .NET SynchronizationContext.
  • How executes .NET SynchronizationContext by using .NET Task<T>.
  • Sample code contains for two implementations:
    • Used Win32 message queue version.
    • Used BlockingCollection version.
    • BlockingCollection is simple version, you can find these code differences.
  • These samples are handles for marshaling on class constructed thread.
    • Win32 message queue version likely DispatcherSynchronizationContext/WinFormsSynchronizationContext.

License