Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduling and Task Safety Improvements #753

Closed
wants to merge 11 commits into from
Closed

Commits on Jul 27, 2011

  1. Made root_task no longer special.

    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    ed1bbe3 View commit details
    Browse the repository at this point in the history
  2. Per-thread scheduling. Closes rust-lang#682.

    Tasks are spawned on a random thread. Currently they stay there, but
    we should add task migration and load balancing in the future. This
    should drammatically improve our task performance benchmarks.
    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    816d10a View commit details
    Browse the repository at this point in the history
  3. Re-removing a test case that was moved during the big test suite over…

    …haul.
    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    39b3e98 View commit details
    Browse the repository at this point in the history
  4. Adding a function to stdlib to set the min stack size, for programs

    that absolutely will not succeed with a large default stack. This
    should be removed once we have stack grown working.
    
    Also updated word-count to succeed under the new test framework.
    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    d6b7182 View commit details
    Browse the repository at this point in the history
  5. Made task threads wait instead of sleep, so they can be woken up. Thi…

    …s appears to give us much better parallel performance.
    
    Also, commented out one more unsafe log and updated rust_kernel.cpp to compile under g++
    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    00a64d1 View commit details
    Browse the repository at this point in the history
  6. Adding upcalls to to ref() and deref() tasks. This is the first step …

    …towards atomic reference counting of tasks.
    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    0f01471 View commit details
    Browse the repository at this point in the history
  7. Atomic reference counting for tasks.

    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    8c96afa View commit details
    Browse the repository at this point in the history
  8. Removed outdated comment.

    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    22c3b0c View commit details
    Browse the repository at this point in the history
  9. Resurrecting some of the logging in rust_chan.cpp

    Eric Holk committed Jul 27, 2011
    Configuration menu
    Copy the full SHA
    f0aa6ca View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7b76ace View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2011

  1. Updating to work on Windows.

    Eric Holk committed Jul 28, 2011
    Configuration menu
    Copy the full SHA
    6b9b8d4 View commit details
    Browse the repository at this point in the history