Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
/ SynchContextSample Public archive

.NET Custom SynchronizationContext sample codes.

License

Notifications You must be signed in to change notification settings

kekyo/SynchContextSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.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

About

.NET Custom SynchronizationContext sample codes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages