Explorar o código

Revert r. 5608.

Cyril Roelandt %!s(int64=14) %!d(string=hai) anos
pai
achega
95ea0fd2c1
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      src/core/workers.c

+ 0 - 6
src/core/workers.c

@@ -400,12 +400,6 @@ int starpu_init(struct starpu_conf *user_conf)
 #endif
 
 	_STARPU_PTHREAD_MUTEX_LOCK(&init_mutex);
-	if (init_count > 0)
-	{
-		_STARPU_PTHREAD_MUTEX_UNLOCK(&init_mutex);
-		return;
-	}
-		
 	while (initialized == CHANGING)
 		/* Wait for the other one changing it */
 		_STARPU_PTHREAD_COND_WAIT(&init_cond, &init_mutex);