This project is read-only.

Proposal for pull request for issues #8 and #9

Feb 18, 2014 at 4:43 PM

If you agree with my proposed solutions to #8 and #9, I'll work on them together (since each of them touch all the same methods) and send a joint pull request.
Feb 18, 2014 at 5:02 PM
Sounds good. How will you detect if you're on a thread pool thread? Check if SynchronizationContext.Current is null?
Feb 18, 2014 at 8:11 PM
That's one possible approach. Another I'll consider is Threadpool.IsThreadPoolThread (or whatever it's called). Platform availability and accuracy of the method will determine what I settle on.
Either way, the detection technique will be in one helper method, so we can switch it to another mechanism later easily if necessary.
Feb 19, 2014 at 2:59 PM