ftp.nice.ch/pub/next/database/postgres-4.2/postgresLibs.NIHS.b.tar.gz#/postgresLibs.pkg/postgresLibs.tar.gz#/include/storage/execipc.h

This is execipc.h in view mode; [Download] [Up]

/*
 * execipc.h --
 *	parallel executor inter-process communication definitions.
 *
 * Identification:
 *	/usr/local/devel/postgres-v4r2/src/backend/storage/RCS/execipc.h,v 1.2 1991/11/09 09:53:48 hong Exp
 */

#ifndef	EXECIPCIncluded	/* Include this file only once */
#define EXECIPCIncluded	1

/* ----------------------------
 * struct for locks that support one producer and multiple consumer
 * ----------------------------
 */
struct m1lock {
    int		count;
#ifdef HAS_TEST_AND_SET
    slock_t	waitlock;
#endif
};
typedef struct m1lock M1Lock;

/* ----------------------------
 * struct for shared counter: need mutual exclusion
 * ----------------------------
 */
struct sharedcounter {
    int		count;
#ifdef HAS_TEST_AND_SET
    slock_t	exlock;
#endif
};
typedef struct sharedcounter SharedCounter;

void SetParallelExecutorEnabled();
void SetNumberSlaveBackends();
void ExecImmediateReleaseSemaphore();
void Exec_I();
void Exec_P();
void Exec_V();
void I_Start();
void P_Start();
void V_Start();
void I_Finished();
void V_Finished();
void P_Finished();
void P_FinishedAbort();
void V_FinishedAbort();
void I_SharedMemoryMutex();
void P_SharedMemoryMutex();
void V_SharedMemoryMutex();
void I_Abort();
void P_Abort();
void V_Abort();
void ExecInitExecutorSemaphore();
void ExecSemaphoreOnExit();
void ExecCreateExecutorSharedMemory();
void ExecSharedMemoryOnExit();
void ExecLocateExecutorSharedMemory();
void ExecAttachExecutorSharedMemory();
void InitMWaitOneLock();
void MWaitOne();
void OneSignalM();
#endif	/* !defined(EXECIPCIncluded) */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.