summaryrefslogtreecommitdiff
path: root/src/include/storage/io_worker.h
blob: 7bde7e89c8a8d455e0e9024042a285383136b8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*-------------------------------------------------------------------------
 *
 * io_worker.h
 *    IO worker for implementing AIO "ourselves"
 *
 *
 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/storage/io.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef IO_WORKER_H
#define IO_WORKER_H


pg_noreturn extern void IoWorkerMain(const void *startup_data, size_t startup_data_len);

extern PGDLLIMPORT int io_workers;

#endif							/* IO_WORKER_H */