PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | Barrier |
Typedefs | |
typedef struct Barrier | Barrier |
Functions | |
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) |
Definition at line 203 of file barrier.c.
References barrier, and BarrierDetachImpl().
Referenced by ExecHashTableDetach(), and ExecHashTableDetachBatch().
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().
Definition at line 256 of file barrier.c.
References barrier, and BarrierDetachImpl().
Referenced by ExecParallelHashJoinNewBatch(), ExecParallelHashJoinSetUpBatches(), and MultiExecParallelHash().
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 | ) |
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().