MCPcopy Create free account
hub / github.com/apache/cloudberry / tuplesort_attach_shared

Function tuplesort_attach_shared

src/backend/utils/sort/tuplesort.c:4697–4702  ·  view source on GitHub ↗

* tuplesort_attach_shared - attach to shared tuplesort state * * Must be called by all worker processes. */

Source from the content-addressed store, hash-verified

4695 * Must be called by all worker processes.
4696 */
4697void
4698tuplesort_attach_shared(Sharedsort *shared, dsm_segment *seg)
4699{
4700 /* Attach to SharedFileSet */
4701 SharedFileSetAttach(&shared->fileset, seg);
4702}
4703
4704/*
4705 * worker_get_identifier - Assign and return ordinal identifier for worker

Callers 1

_bt_parallel_build_mainFunction · 0.85

Calls 1

SharedFileSetAttachFunction · 0.85

Tested by

no test coverage detected