[parrot/parrot] 2bae6d: Seperate thread_kill from thread_destroy

GitHub noreply at github.com
Tue Sep 18 19:16:05 UTC 2012


  Branch: refs/heads/rurban/threads_array_heap
  Home:   https://github.com/parrot/parrot
  Commit: 2bae6d79234fe2d969a4dd3f243844aacde9a9a5
      https://github.com/parrot/parrot/commit/2bae6d79234fe2d969a4dd3f243844aacde9a9a5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-18 (Tue, 18 Sep 2012)

  Changed paths:
    M include/parrot/thread.h
    M src/interp/api.c
    M src/thread.c

  Log Message:
  -----------
  Seperate thread_kill from thread_destroy

Rename Parrot_thread_destroy to Parrot_thread_destroy_all
Add an earlier Parrot_thread_kill_all step, which kills the
foreign tasks, and use the later Parrot_thread_destroy_all to
cancel the threads, kill its interpreters and free the threads_array.

I'm not sure if the scenario is sound and right but the tests pass.





More information about the parrot-commits mailing list