Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

thread_test.c File Reference

#include "postgres.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/types.h>
#include <pwd.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
Include dependency graph for thread_test.c:

Go to the source code of this file.

Functions

int sigwait (const sigset_t *set, int *sig)
int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 68 of file thread_test.c.

{
    fprintf(stderr, "This PostgreSQL build does not support threads.\n");
    fprintf(stderr, "Perhaps rerun 'configure' using '--enable-thread-safety'.\n");
    return 1;
}

int sigwait ( const sigset_t *  set,
int *  sig 
)