diff options
author | Yuji Mano <yuji.mano@am.sony.com> | 2009-03-19 13:53:55 -0700 |
---|---|---|
committer | Yuji Mano <yuji.mano@am.sony.com> | 2009-03-23 12:17:34 -0700 |
commit | 482ce5fdae3c67e862bd9d9a54eace8146ebbd4b (patch) | |
tree | 1111c8298e1a5888ccdff92f6ce65ddfafd97d33 | |
parent | be1eec6e4e64d25c10865dc01ce4273a3c5235fe (diff) | |
download | mars-src-482ce5fdae3c67e862bd9d9a54eace8146ebbd4b.tar.gz |
base: Workload queue header cleanup
This patch moves the private internal workload queue functions into an internal
header as they should not be made public.
Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>
-rw-r--r-- | base/include/host/mars/workload_queue.h | 5 | ||||
-rw-r--r-- | base/src/host/lib/context_internal.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/base/include/host/mars/workload_queue.h b/base/include/host/mars/workload_queue.h index a81b911..5468828 100644 --- a/base/include/host/mars/workload_queue.h +++ b/base/include/host/mars/workload_queue.h @@ -52,11 +52,6 @@ struct mars_context; extern "C" { #endif -/* These functions should only be used internally by the MARS context */ -int mars_workload_queue_create(struct mars_context *mars); -int mars_workload_queue_destroy(struct mars_context *mars); -int mars_workload_queue_exit(struct mars_context *mars); - /** * \ingroup group_mars_workload_queue * \brief <b>[host]</b> Returns whether or not specified query is satisfied. diff --git a/base/src/host/lib/context_internal.h b/base/src/host/lib/context_internal.h index c5a0f8f..90b37fd 100644 --- a/base/src/host/lib/context_internal.h +++ b/base/src/host/lib/context_internal.h @@ -75,6 +75,10 @@ int mars_shared_context_get(struct mars_context **mars); int mars_shared_context_register(struct mars_context *mars); int mars_shared_context_unregister(struct mars_context *mars); +int mars_workload_queue_create(struct mars_context *mars); +int mars_workload_queue_destroy(struct mars_context *mars); +int mars_workload_queue_exit(struct mars_context *mars); + extern mars_host_mutex_t mars_shared_context_lock; int mars_host_mutex_lock(mars_host_mutex_t *mutex); |