Commit 09a65f5a authored by Robert Haas's avatar Robert Haas

Mark a few parallelism-related variables with PGDLLIMPORT.

Discussion: http://postgr.es/m/CAEepm=2HzxAOKU6eCWTyvMwBy=fhGvbwDPM_fVps759tkyQSYQ@mail.gmail.com
parent 4bbf110d
...@@ -52,8 +52,8 @@ typedef struct ParallelWorkerContext ...@@ -52,8 +52,8 @@ typedef struct ParallelWorkerContext
} ParallelWorkerContext; } ParallelWorkerContext;
extern volatile bool ParallelMessagePending; extern volatile bool ParallelMessagePending;
extern int ParallelWorkerNumber; extern PGDLLIMPORT int ParallelWorkerNumber;
extern bool InitializingParallelWorker; extern PGDLLIMPORT bool InitializingParallelWorker;
#define IsParallelWorker() (ParallelWorkerNumber >= 0) #define IsParallelWorker() (ParallelWorkerNumber >= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment