[Cbe-oss-dev] [PATCH 04/22]MARS/base: workload queue header cleanup

Yuji Mano yuji.mano at am.sony.com
Fri Mar 20 07:53:55 EST 2009


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 at am.sony.com>
---
 base/include/host/mars/workload_queue.h |    5 -----
 base/src/host/lib/context_internal.h    |    4 ++++
 2 files changed, 4 insertions(+), 5 deletions(-)

--- 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.
--- 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_
 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);






More information about the cbe-oss-dev mailing list