Commit faa6c0f
committed
dmclock/src/dmclock_server: move PriorityQueueBase::finishing into PushPriorityQueue
PriorityQueueBase::finishing is only used in PushPriorityQueue -- move there.
Also, it wasn't actually necessary for finishing to be an atomic as long
as ~PushPriorityQueue takes the lock before mutating it. The readers
already hold the lock.
Signed-off-by: Samuel Just <[email protected]>1 parent abea096 commit faa6c0f
1 file changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
| 809 | + | |
814 | 810 | | |
815 | 811 | | |
816 | 812 | | |
| |||
853 | 849 | | |
854 | 850 | | |
855 | 851 | | |
856 | | - | |
857 | 852 | | |
858 | 853 | | |
859 | 854 | | |
| |||
869 | 864 | | |
870 | 865 | | |
871 | 866 | | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | 867 | | |
879 | 868 | | |
880 | 869 | | |
| |||
1534 | 1523 | | |
1535 | 1524 | | |
1536 | 1525 | | |
| 1526 | + | |
1537 | 1527 | | |
1538 | 1528 | | |
1539 | 1529 | | |
| |||
1591 | 1581 | | |
1592 | 1582 | | |
1593 | 1583 | | |
1594 | | - | |
1595 | 1584 | | |
1596 | 1585 | | |
| 1586 | + | |
1597 | 1587 | | |
1598 | 1588 | | |
1599 | 1589 | | |
| |||
0 commit comments