[Cbe-oss-dev] [PATCH 08/11]MARS: Workload queue api add set flag
Kazunori Asayama
asayama at sm.sony.co.jp
Fri Sep 12 18:36:40 EST 2008
Yuji Mano wrote:
> This adds a new internal API workload_queue_exit that sets the exit flag inside
> the workload queue header.
>
> Previously this was done inside the workload_queue_finalize function, but since
> the MARS context must first join all mpu context threads before finalizing the
> workload queue, a separate function to set the exit flag for those threads is
> required.
>
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>
>
> ---
> include/common/mars/mars_kernel_types.h | 3 ---
> include/common/mars/mars_workload_types.h | 6 +++++-
> include/host/mars/mars_workload_queue.h | 1 +
> src/host/lib/mars_context.c | 28 ++++++++++++++++------------
> src/host/lib/mars_workload_queue.c | 11 +++++++++--
> src/mpu/kernel/mars_kernel_scheduler.c | 2 +-
> 6 files changed, 32 insertions(+), 19 deletions(-)
>
--
(ASAYAMA Kazunori
(asayama at sm.sony.co.jp))
t
More information about the cbe-oss-dev
mailing list