@@ -1302,14 +1302,10 @@ LWLockAcquire(LWLock *lock, LWLockMode mode)
1302
1302
/*
1303
1303
* Wait until awakened.
1304
1304
*
1305
- * Since we share the process wait semaphore with the regular lock
1306
- * manager and ProcWaitForSignal, and we may need to acquire an LWLock
1307
- * while one of those is pending, it is possible that we get awakened
1308
- * for a reason other than being signaled by LWLockRelease. If so,
1309
- * loop back and wait again. Once we've gotten the LWLock,
1310
- * re-increment the sema by the number of additional signals received,
1311
- * so that the lock manager or signal manager will see the received
1312
- * signal when it next waits.
1305
+ * It is possible that we get awakened for a reason other than being
1306
+ * signaled by LWLockRelease. If so, loop back and wait again. Once
1307
+ * we've gotten the LWLock, re-increment the sema by the number of
1308
+ * additional signals received.
1313
1309
*/
1314
1310
LOG_LWDEBUG ("LWLockAcquire" ,lock ,"waiting" );
1315
1311
@@ -1474,8 +1470,7 @@ LWLockAcquireOrWait(LWLock *lock, LWLockMode mode)
1474
1470
{
1475
1471
/*
1476
1472
* Wait until awakened. Like in LWLockAcquire, be prepared for
1477
- * bogus wakeups, because we share the semaphore with
1478
- * ProcWaitForSignal.
1473
+ * bogus wakeups.
1479
1474
*/
1480
1475
LOG_LWDEBUG ("LWLockAcquireOrWait" ,lock ,"waiting" );
1481
1476
@@ -1688,14 +1683,10 @@ LWLockWaitForVar(LWLock *lock, uint64 *valptr, uint64 oldval, uint64 *newval)
1688
1683
/*
1689
1684
* Wait until awakened.
1690
1685
*
1691
- * Since we share the process wait semaphore with the regular lock
1692
- * manager and ProcWaitForSignal, and we may need to acquire an LWLock
1693
- * while one of those is pending, it is possible that we get awakened
1694
- * for a reason other than being signaled by LWLockRelease. If so,
1695
- * loop back and wait again. Once we've gotten the LWLock,
1696
- * re-increment the sema by the number of additional signals received,
1697
- * so that the lock manager or signal manager will see the received
1698
- * signal when it next waits.
1686
+ * It is possible that we get awakened for a reason other than being
1687
+ * signaled by LWLockRelease. If so, loop back and wait again. Once
1688
+ * we've gotten the LWLock, re-increment the sema by the number of
1689
+ * additional signals received.
1699
1690
*/
1700
1691
LOG_LWDEBUG ("LWLockWaitForVar" ,lock ,"waiting" );
1701
1692