[parrot/parrot] cbd81f: Enable preemption only when more than one task is ...

noreply at github.com noreply at github.com
Fri Oct 14 19:20:11 UTC 2011


  Branch: refs/heads/green_threads
  Home:   https://github.com/parrot/parrot

  Commit: cbd81fdcec6552911bcdf67356d0d400dec134e0
      https://github.com/parrot/parrot/commit/cbd81fdcec6552911bcdf67356d0d400dec134e0
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2011-10-14 (Fri, 14 Oct 2011)

  Changed paths:
    M include/parrot/scheduler.h
  M src/scheduler.c

  Log Message:
  -----------
  Enable preemption only when more than one task is active.

We enable the scheduler alarm and enable_scheduling only in situations
where more than one task is in the queue. This way, there is no
preemption overhead in the common single-task case.


  Commit: a0748458ac08f231aeb1d112017da0256ce9841b
      https://github.com/parrot/parrot/commit/a0748458ac08f231aeb1d112017da0256ce9841b
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2011-10-14 (Fri, 14 Oct 2011)

  Changed paths:
    M include/parrot/scheduler.h
  M src/scheduler.c

  Log Message:
  -----------
  Merge branch 'green_threads' of git://github.com/niner/parrot into green_threads


Compare: https://github.com/parrot/parrot/compare/d47a978...a074845


More information about the parrot-commits mailing list