Skip to content

.NET Custom SynchronizationContext sample codes.

License

Notifications You must be signed in to change notification settings

Ringx86/SynchContextSample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Custom SynchronizationContext sample codes.

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%