Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176693
b: refs/heads/master
c: b6e9082
h: refs/heads/master
i:
  176691: 032370e
v: v3
  • Loading branch information
Manfred Spraul authored and Linus Torvalds committed Dec 16, 2009
1 parent 38ea5c6 commit 6df4190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4212093dca95c1f52197017d969cc66d5d962aa
refs/heads/master: b6e90822e77cd476c18410f7003197d466e36ac6
4 changes: 2 additions & 2 deletions trunk/ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,13 @@ static void update_queue (struct sem_array * sma)
* of the completed operation:
* - if the operation modified the array, then restart from the
* head of the queue and check for threads that might be
* waiting for semaphore values to become 0.
* waiting for the new semaphore values.
* - if the operation didn't modify the array, then just
* continue.
*/
alter = q->alter;
wake_up_sem_queue(q, error);
if (alter)
if (alter && !error)
goto again;
}
}
Expand Down

0 comments on commit 6df4190

Please sign in to comment.