[libgomp, GSoC'19] Work-stealing task scheduling

2019-08-25 Thread Ray Kim
Hi, This patch implemented work-stealing task scheduling for GSoC'19 final evaluations. Currently there are some issues that needs to be further addressed, however I think it is functional. This that could be improved are as follows: 1. Currently the threads busy wait even when the task queues are

Re: [libgomp, GSoC'19] Work-stealing task scheduling

2019-09-02 Thread Ray Kim
not possible since either the last child, or the thread executing the parent will free the task. Once the task is freed, accessing the depend_lock will cause a segfault. I really couldn't come up with a more safer, clearer solution. If you have any better way to implement this, please let me know. I'll be really greatful. I'll try to improve the issues you raised. Thanks for the thorough review. Ray Kim