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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
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.