Browse Source

Re-fix simgrid build

Samuel Thibault 12 years ago
parent
commit
fb88ec68ff
2 changed files with 5 additions and 1 deletions
  1. 1 1
      include/starpu_sched_ctx.h
  2. 4 0
      src/core/workers.h

+ 1 - 1
include/starpu_sched_ctx.h

@@ -107,9 +107,9 @@ void starpu_worker_set_sched_condition(unsigned sched_ctx_id, int workerid, pthr
 #endif
 
 void starpu_sched_ctx_set_worker_mutex_and_cond(unsigned sched_ctx_id, int workerid, pthread_mutex_t *sched_mutex, pthread_cond_t *sched_cond);
-#endif
 
 void starpu_sched_ctx_get_worker_mutex_and_cond(unsigned sched_ctx_id, int workerid, pthread_mutex_t **sched_mutex, pthread_cond_t **sched_cond);
+#endif
 
 void starpu_sched_ctx_init_worker_mutex_and_cond(unsigned sched_ctx_id, int workerid);
 

+ 4 - 0
src/core/workers.h

@@ -250,6 +250,10 @@ unsigned _starpu_execute_registered_progression_hooks(void);
 void starpu_worker_set_sched_condition(unsigned sched_ctx_id, int workerid, _starpu_pthread_mutex_t *sched_mutex, _starpu_pthread_cond_t *sched_cond);
 
 void starpu_worker_get_sched_condition(unsigned sched_ctx_id, int workerid, _starpu_pthread_mutex_t **sched_mutex, _starpu_pthread_cond_t **sched_cond);
+
+void starpu_sched_ctx_set_worker_mutex_and_cond(unsigned sched_ctx_id, int workerid, pthread_mutex_t *sched_mutex, _starpu_pthread_cond_t *sched_cond);
+
+void starpu_sched_ctx_get_worker_mutex_and_cond(unsigned sched_ctx_id, int workerid, pthread_mutex_t **sched_mutex, _starpu_pthread_cond_t **sched_cond);
 #endif
 
 /* We keep an initial sched ctx which might be used in case no other ctx is available */