projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82790f4
)
* src/threads/posix/lock.c (lock_record_notify): Skip the check for
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Sun, 27 Apr 2008 09:00:14 +0000
(11:00 +0200)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Sun, 27 Apr 2008 09:00:14 +0000
(11:00 +0200)
interrupted. It was data-race ridden anyway.
src/threads/posix/lock.c
patch
|
blob
|
history
diff --git
a/src/threads/posix/lock.c
b/src/threads/posix/lock.c
index f237127a919b7547eaca5097b99be3c62df87669..07a5362cfe4a6d93782330ee4aa05072f07ac396 100644
(file)
--- a/
src/threads/posix/lock.c
+++ b/
src/threads/posix/lock.c
@@
-1408,10
+1408,10
@@
static void lock_record_notify(threadobject *t, lock_record_t *lr, bool one)
waitingthread = w->thread;
- /* We must skip threads which have already been notified
or
-
interrupted. They will
remove themselves from the list. */
+ /* We must skip threads which have already been notified
. They will
+ remove themselves from the list. */
- if (waitingthread->signaled
|| waitingthread->interrupted
)
+ if (waitingthread->signaled)
continue;
/* Enter the wait-mutex. */