From 41a506cefb95518534fc7e4e7f81f8a87ed5f22b Mon Sep 17 00:00:00 2001 From: Stefan Ring Date: Sun, 27 Apr 2008 11:00:14 +0200 Subject: [PATCH] * src/threads/posix/lock.c (lock_record_notify): Skip the check for interrupted. It was data-race ridden anyway. --- src/threads/posix/lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/threads/posix/lock.c b/src/threads/posix/lock.c index f237127a9..07a5362cf 100644 --- 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. */ -- 2.25.1