Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@koush
Copy link
Contributor

@koush koush commented Mar 16, 2011

submitted under MIT license.

I did NOT run tests, as for some reason my Mono checkout just SIGSEGV's quite beautifully when calling make run-test.

that scheduler is ignored if it is in a thread owned by another
scheduler. Tasks should not be locked to the scheduler that
owns the calling thread.

Fix bug where TryExecuteTask does not actually try to execute
the task. Instead, TryExecuteTaskInline is called, which is
abstract. The TpScheduler implementation, the default, then
calls the internal method Task.Execute which then actually
executes the task. The problem with this is that only 3rd
party schedulers, can't actually execute a task, thus making
extending TaskScheduler impossible. (Unless they use some
serious Mono specific reflection hacks as I am now.)
@koush
Copy link
Contributor Author

koush commented Mar 16, 2011

Would appreciate a backport to 2.10 and monodroid please :)

@garuma
Copy link
Contributor

garuma commented Mar 16, 2011

Looks good, merged in master but I'm waiting on wrench to push back to 2-10 and monodroid.

Thanks!

richard-fine referenced this pull request in richard-fine/mono Aug 12, 2013
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants