Clean up the ParkingLot uparking API a bit
[WebKit-https.git] / Source / WTF / wtf / Condition.h
index b811372..ff71ba5 100644 (file)
@@ -180,8 +180,8 @@ struct ConditionBase {
         
         ParkingLot::unparkOne(
             &m_hasWaiters,
-            [this] (bool, bool mayHaveMoreThreads) {
-                if (!mayHaveMoreThreads)
+            [this] (ParkingLot::UnparkResult result) {
+                if (!result.mayHaveMoreThreads)
                     m_hasWaiters.store(false);
             });
     }