Browse Source

include/starpu_worker.h: add warning

Nathalie Furmento 12 years ago
parent
commit
5fbe10d5f3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/starpu_worker.h

+ 4 - 0
include/starpu_worker.h

@@ -99,6 +99,10 @@ int starpu_worker_get_devid(int id);
 }
 }
 #endif
 #endif
 
 
+#ifdef STARPU_DEVEL
+#warning do we really need both starpu_worker_set_sched_condition and starpu_worker_init_sched_condition functions
+#endif
+
 void starpu_worker_set_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t *sched_mutex, pthread_cond_t *sched_cond);
 void starpu_worker_set_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t *sched_mutex, pthread_cond_t *sched_cond);
 
 
 void starpu_worker_get_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t **sched_mutex, pthread_cond_t **sched_cond);
 void starpu_worker_get_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t **sched_mutex, pthread_cond_t **sched_cond);