Branch: refs/heads/threads
  Home:   https://github.com/parrot/parrot
  Commit: 0670c462033615094fce379a97b17500f0ccb9bb
      
https://github.com/parrot/parrot/commit/0670c462033615094fce379a97b17500f0ccb9bb
  Author: Reini Urban <[email protected]>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

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

  Log Message:
  -----------
  Protect threads_array from overflow, add Parrot_get_num_threads()

Ensure that a manual numthreads argument does not exceed the allocated
MAX_THREADS.
The scheduler needs to know the number of threads.
Let Parrot_set_num_threads return the number of set num_threads, which
might be -1 in case of errors.

Enhance the documentation.



_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits

Reply via email to