[parrot/parrot] 5342d6: Several small cleanups, comments and a few TODO no...

GitHub noreply at github.com
Fri Aug 10 14:08:25 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 5342d651969188f28ea450f560d9bb43c9182258
      https://github.com/parrot/parrot/commit/5342d651969188f28ea450f560d9bb43c9182258
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-08-10 (Fri, 10 Aug 2012)

  Changed paths:
    M src/scheduler.c

  Log Message:
  -----------
  Several small cleanups, comments and a few TODO notes in scheduler.c. No functional changes


  Commit: d752612c98239aab90442e0e2d08e149217ac93c
      https://github.com/parrot/parrot/commit/d752612c98239aab90442e0e2d08e149217ac93c
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-08-10 (Fri, 10 Aug 2012)

  Changed paths:
    M include/parrot/interpreter.h
    M src/call/ops.c

  Log Message:
  -----------
  Unshare runloop_id_counter to fix races

runloop_id_counter should be local to the interp instead of global.
There's no reason to share it between threads. Leaving it global was an oversight.


  Commit: ce49c6cd5559f964e005b40aa308b1fadf7df22f
      https://github.com/parrot/parrot/commit/ce49c6cd5559f964e005b40aa308b1fadf7df22f
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-08-10 (Fri, 10 Aug 2012)

  Changed paths:
    M src/pmc/alarm.pmc

  Log Message:
  -----------
  Cleanup Alarm PMC. Add some comments/docs. Cleanup some code. Add the ability to get the alarm time as a PMC from get_pmc_keyed_int, in case anybody wants to try that.


  Commit: 57cee73e094c3ab564e865c3afa6dbcd280f359b
      https://github.com/parrot/parrot/commit/57cee73e094c3ab564e865c3afa6dbcd280f359b
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-08-10 (Fri, 10 Aug 2012)

  Changed paths:
    M src/pmc/scheduler.pmc
    M src/pmc/schedulermessage.pmc

  Log Message:
  -----------
  A few small cleanups to scheduler and schedulermessage PMCs. No functional changes


  Commit: 56c96dde2523f678ecb576b9617e110075361f91
      https://github.com/parrot/parrot/commit/56c96dde2523f678ecb576b9617e110075361f91
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-08-10 (Fri, 10 Aug 2012)

  Changed paths:
    M t/pmc/nci.t

  Log Message:
  -----------
  [GH #808] Remove sleep calls in nci.t, because of signal deadlocks with parrot threads

Even without sleep calls the tests succeed. But since it loops until the resuilt arrives, let
it busy loop a bit longer.
Note: This is a hack. sleep on threads should be fixed instead.


Compare: https://github.com/parrot/parrot/compare/33a45e388f3c...56c96dde2523


More information about the parrot-commits mailing list