[parrot/parrot] 3bf538: Fix a concurrency issue in gc_gms_allocate_fixed_s...

GitHub noreply at github.com
Sat Apr 28 07:08:48 UTC 2012


  Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 3bf5389d1fd17c5cd5e8bd28876c128b06b6621e
      https://github.com/parrot/parrot/commit/3bf5389d1fd17c5cd5e8bd28876c128b06b6621e
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-04-27 (Fri, 27 Apr 2012)

  Changed paths:
    A examples/threads/alloc_test.pir
    M src/gc/gc_gms.c

  Log Message:
  -----------
  Fix a concurrency issue in gc_gms_allocate_fixed_size_storage

gc_gms_allocate_fixed_size_storage has to take the GC lock as well to
avoid race conditions


  Commit: d9a8158809ba44b28c7d8a38f03928d08428f285
      https://github.com/parrot/parrot/commit/d9a8158809ba44b28c7d8a38f03928d08428f285
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-04-27 (Fri, 27 Apr 2012)

  Changed paths:
    M src/thread.c

  Log Message:
  -----------
  Use Parrot_thread_maybe_create_proxy to avoid duplicated code


  Commit: fb6b6d3e748845728e19d83f2dfbcdcf2dd5f129
      https://github.com/parrot/parrot/commit/fb6b6d3e748845728e19d83f2dfbcdcf2dd5f129
  Author: Stefan Seifert <nine at detonation.org>
  Date:   2012-04-27 (Fri, 27 Apr 2012)

  Changed paths:
    M src/thread.c

  Log Message:
  -----------
  Clean up foreign tasks started by child threads

Child threads may start tasks on other threads as well so they should
clean up the list of foreign tasks and remove the finished ones to keep
the list from growing indefinitely.


Compare: https://github.com/parrot/parrot/compare/3dbf36f...fb6b6d3


More information about the parrot-commits mailing list