Explorar el Código

Separate bitfields set by starpu from bitfields set by user, since the latter are accessed unsafely by starpu, but the former shouldn't

Samuel Thibault hace 11 años
padre
commit
d76f89457d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      include/starpu_task.h

+ 2 - 2
include/starpu_task.h

@@ -166,12 +166,12 @@ struct starpu_task
 	unsigned destroy:1;
 	unsigned destroy:1;
 	unsigned regenerate:1;
 	unsigned regenerate:1;
 
 
+	unsigned workerid;
+
 	unsigned scheduled:1;
 	unsigned scheduled:1;
 
 
 	unsigned int mf_skip:1;
 	unsigned int mf_skip:1;
 
 
-	unsigned workerid;
-
 	int priority;
 	int priority;
 
 
 	enum starpu_task_status status;
 	enum starpu_task_status status;