|
@@ -144,6 +144,9 @@ void _starpu_worker_gets_out_of_ctx(unsigned sched_ctx_id, struct _starpu_worker
|
|
|
/* Check if the worker belongs to another sched_ctx */
|
|
|
unsigned _starpu_worker_belongs_to_a_sched_ctx(int workerid, unsigned sched_ctx_id);
|
|
|
|
|
|
+/* mutex synchronising several simultaneous modifications of a context */
|
|
|
+starpu_pthread_mutex_t* _starpu_sched_ctx_get_changing_ctx_mutex(unsigned sched_ctx_id);
|
|
|
+
|
|
|
#ifdef STARPU_USE_SC_HYPERVISOR
|
|
|
/* Notifies the hypervisor that a tasks was poped from the workers' list */
|
|
|
void _starpu_sched_ctx_call_poped_task_cb(int workerid, struct starpu_task *task, size_t data_size, uint32_t footprint);
|