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

Skip to content

Conversation

@garuma
Copy link
Contributor

@garuma garuma commented Feb 22, 2011

Among the changes contained there:
- Lock-free work-stealing queue
- Added check in monitor_thread for common Task pattern to prevent wasted threads
- Use __thread TLS to store local workstealing queue

This prevents Task based worflow from creating and destroying too much threads in a short timespan
It might not be necessary to free the list at all since memory is going to get recycled by OS but in any case it needs to be done in a better way
@garuma
Copy link
Contributor Author

garuma commented Feb 23, 2011

Closing for reorganization

luhenry added a commit to luhenry/mono that referenced this pull request May 25, 2018
Commit list for mono/corefx:

* mono/corefx@4dc1df47d5 Fix for GCC < 4.8 compilers (mono#62)
* mono/corefx@427aa8cca1 Merge pull request mono#61 from mono/corefx-pal-random
* mono/corefx@59b723b94a Add Mono-specific conditionals to HashCode.cs.
* mono/corefx@8939784230 Convert pal_random to C for integration with Mono

Diff: mono/corefx@26b71b5...4dc1df4
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.

1 participant