TaskCreationOptions setting in Dsl.Disruptor<T>.Start

21 views
Skip to first unread message

Charles Milutinovic

unread,
Dec 27, 2013, 6:48:20 PM12/27/13
to disrup...@googlegroups.com
I've been playing around with Disruptor.NET and noticed that the event processor Run() tasks were created with TaskCreationOptions.None.  I was contemplating on why this option was chosen instead of TaskCreationOptions.LongRunning (i.e. 1Thread/Task in the default implementation) however not being familiar enough with Disruptor; it was pretty far back on my list of things to investigate.

Then I noticed there is a request in the bugtracker to merge this change to the mainline [#15].  Link is here: https://github.com/disruptor-net/Disruptor-net/pull/15

Since the thread pool in .NET4+ implements work stealing, and the default min threads in the number of cores; I am hoping someone more familiar with the architecture could comment on why this change would/could be beneficial.
Reply all
Reply to author
Forward
0 new messages