Skip to content
Snippets Groups Projects
Commit 32088afa authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

typo.

Former-commit-id: dccbf32f8adc3f9bd3c5b2616dcf9feae08ab51b
parent d3c5ab38
No related branches found
No related tags found
No related merge requests found
...@@ -827,7 +827,7 @@ struct task *space_addtask ( struct space *s , int type , int subtype , int flag ...@@ -827,7 +827,7 @@ struct task *space_addtask ( struct space *s , int type , int subtype , int flag
/* Add an index for it. */ /* Add an index for it. */
// lock_lock( &s->lock ); // lock_lock( &s->lock );
s->tasks_ind[ atomic_inc( s->nr_tasks ) ] = ind; s->tasks_ind[ atomic_inc( &s->nr_tasks ) ] = ind;
// lock_unlock_blind( &s->lock ); // lock_unlock_blind( &s->lock );
/* Return a pointer to the new task. */ /* Return a pointer to the new task. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment