This is an API change, that I did oppose on June 16th. Why it's now merged?
What is the requirement ("All threads that have joined the group must leave
before destroying the group") ? A thread may be in a group due to automatic
group (no create/join called), being part of thread mask in a create call or
being part of thread mask in a join call. Also, thread itself may not call
create/join/leave, but another thread may do that for it.
In which cases a thread needs to be removed by explicit leave() call? Always,
when create() was called, only when join() was called ?
-Petri
> -----Original Message-----
> From: lng-odp [mailto:[email protected]] On Behalf Of
> GitHub
> Sent: Monday, August 07, 2017 1:59 PM
> To: [email protected]
> Subject: [lng-odp] [Linaro/odp] 09ce94: api: schedule: add thread removal
> correction
>
> Branch: refs/heads/api-next
> Home: https://github.com/Linaro/odp
> Commit: 09ce9406e09eacadf8f739ae8499323ad1401d36
>
> https://github.com/Linaro/odp/commit/09ce9406e09eacadf8f739ae8499323ad1401
> d36
> Author: Honnappa Nagarahalli <[email protected]>
> Date: 2017-08-07 (Mon, 07 Aug 2017)
>
> Changed paths:
> M include/odp/api/spec/schedule.h
>
> Log Message:
> -----------
> api: schedule: add thread removal correction
>
> Clarify thread removal status from scheduler group
> before calling odp_schedule_group_destroy.
>
> Signed-off-by: Honnappa Nagarahalli <[email protected]>
> Reviewed-by: Brian Brooks <[email protected]>
> Reviewed-by: Ola Liljedahl <[email protected]>
> Reviewed-by: Bill Fischofer <[email protected]>
> Signed-off-by: Maxim Uvarov <[email protected]>
>