@@ -1221,14 +1221,10 @@ LWLockAcquire(LWLock *lock, LWLockMode mode)
1221
1221
/*
1222
1222
* Wait until awakened.
1223
1223
*
1224
- * Since we share the process wait semaphore with the regular lock
1225
- * manager and ProcWaitForSignal, and we may need to acquire an LWLock
1226
- * while one of those is pending, it is possible that we get awakened
1227
- * for a reason other than being signaled by LWLockRelease. If so,
1228
- * loop back and wait again. Once we've gotten the LWLock,
1229
- * re-increment the sema by the number of additional signals received,
1230
- * so that the lock manager or signal manager will see the received
1231
- * signal when it next waits.
1224
+ * It is possible that we get awakened for a reason other than being
1225
+ * signaled by LWLockRelease. If so, loop back and wait again. Once
1226
+ * we've gotten the LWLock, re-increment the sema by the number of
1227
+ * additional signals received.
1232
1228
*/
1233
1229
LOG_LWDEBUG ("LWLockAcquire" ,lock ,"waiting" );
1234
1230
@@ -1388,8 +1384,7 @@ LWLockAcquireOrWait(LWLock *lock, LWLockMode mode)
1388
1384
{
1389
1385
/*
1390
1386
* Wait until awakened. Like in LWLockAcquire, be prepared for
1391
- * bogus wakeups, because we share the semaphore with
1392
- * ProcWaitForSignal.
1387
+ * bogus wakeups.
1393
1388
*/
1394
1389
LOG_LWDEBUG ("LWLockAcquireOrWait" ,lock ,"waiting" );
1395
1390
@@ -1598,14 +1593,10 @@ LWLockWaitForVar(LWLock *lock, uint64 *valptr, uint64 oldval, uint64 *newval)
1598
1593
/*
1599
1594
* Wait until awakened.
1600
1595
*
1601
- * Since we share the process wait semaphore with the regular lock
1602
- * manager and ProcWaitForSignal, and we may need to acquire an LWLock
1603
- * while one of those is pending, it is possible that we get awakened
1604
- * for a reason other than being signaled by LWLockRelease. If so,
1605
- * loop back and wait again. Once we've gotten the LWLock,
1606
- * re-increment the sema by the number of additional signals received,
1607
- * so that the lock manager or signal manager will see the received
1608
- * signal when it next waits.
1596
+ * It is possible that we get awakened for a reason other than being
1597
+ * signaled by LWLockRelease. If so, loop back and wait again. Once
1598
+ * we've gotten the LWLock, re-increment the sema by the number of
1599
+ * additional signals received.
1609
1600
*/
1610
1601
LOG_LWDEBUG ("LWLockWaitForVar" ,lock ,"waiting" );
1611
1602