Hello,

I'm a little confused of two structs that Chapel runtime uses:
chpl_task_list and task_pool_struct: the definitions are in:
chapel/runtime/src/tasks/fifo/tasks-fifo.c


​ When there's parallel block, it creates​ tasks and add them to the task
list, then somehow later, thread get task from the task_pool, so why
runtime needs to manipulate tasks between list and pool ? and What's the
difference between them ?

thanks !


-- 
Best regards


Hui Zhang
------------------------------------------------------------------------------
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to