PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
static bool | BarrierDetachImpl (Barrier *barrier, bool arrive) |
void | BarrierInit (Barrier *barrier, int participants) |
bool | BarrierArriveAndWait (Barrier *barrier, uint32 wait_event_info) |
bool | BarrierArriveAndDetach (Barrier *barrier) |
bool | BarrierArriveAndDetachExceptLast (Barrier *barrier) |
int | BarrierAttach (Barrier *barrier) |
bool | BarrierDetach (Barrier *barrier) |
int | BarrierPhase (Barrier *barrier) |
int | BarrierParticipants (Barrier *barrier) |
bool BarrierArriveAndDetach | ( | Barrier * | barrier | ) |
Definition at line 203 of file barrier.c.
References barrier, and BarrierDetachImpl().
Referenced by ExecHashTableDetach(), and ExecHashTableDetachBatch().
bool BarrierArriveAndDetachExceptLast | ( | Barrier * | barrier | ) |
Definition at line 213 of file barrier.c.
References Assert, barrier, SpinLockAcquire, and SpinLockRelease.
Referenced by ExecHashTableDetachBatch(), and ExecParallelPrepHashTableForUnmatched().
Definition at line 125 of file barrier.c.
References Assert, barrier, ConditionVariableBroadcast(), ConditionVariableCancelSleep(), ConditionVariablePrepareToSleep(), ConditionVariableSleep(), SpinLockAcquire, and SpinLockRelease.
Referenced by ExecHashJoinImpl(), ExecHashTableCreate(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), and MultiExecParallelHash().
int BarrierAttach | ( | Barrier * | barrier | ) |
Definition at line 236 of file barrier.c.
References Assert, barrier, SpinLockAcquire, and SpinLockRelease.
Referenced by ExecHashTableCreate(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), and MultiExecParallelHash().
bool BarrierDetach | ( | Barrier * | barrier | ) |
Definition at line 256 of file barrier.c.
References barrier, and BarrierDetachImpl().
Referenced by ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), and MultiExecParallelHash().
|
inlinestatic |
Definition at line 300 of file barrier.c.
References Assert, barrier, ConditionVariableBroadcast(), SpinLockAcquire, and SpinLockRelease.
Referenced by BarrierArriveAndDetach(), and BarrierDetach().
void BarrierInit | ( | Barrier * | barrier, |
int | participants | ||
) |
Definition at line 100 of file barrier.c.
References barrier, ConditionVariableInit(), and SpinLockInit.
Referenced by ExecHashJoinInitializeDSM(), ExecHashJoinReInitializeDSM(), and ExecParallelHashJoinSetUpBatches().
int BarrierParticipants | ( | Barrier * | barrier | ) |
Definition at line 281 of file barrier.c.
References barrier, SpinLockAcquire, and SpinLockRelease.
int BarrierPhase | ( | Barrier * | barrier | ) |
Definition at line 265 of file barrier.c.
References barrier.
Referenced by ExecHashJoinImpl(), ExecHashTableCreate(), ExecHashTableDetach(), ExecHashTableDetachBatch(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashTableInsert(), ExecParallelHashTupleAlloc(), ExecParallelPrepHashTableForUnmatched(), and MultiExecParallelHash().