1/*-------------------------------------------------------------------------
4 * Shared temporary file management.
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/storage/sharedfileset.h
12 *-------------------------------------------------------------------------
15#ifndef SHAREDFILESET_H
16#define SHAREDFILESET_H
24 * A set of temporary files that can be shared by multiple backends.
29 slock_t
mutex;
/* mutex protecting the reference count */
30 int refcnt;
/* number of attached backends */
void SharedFileSetAttach(SharedFileSet *fileset, dsm_segment *seg)
void SharedFileSetDeleteAll(SharedFileSet *fileset)
void SharedFileSetInit(SharedFileSet *fileset, dsm_segment *seg)
struct SharedFileSet SharedFileSet