PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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 55 of file thread_test.c.

56 {
57  fprintf(stderr, "This PostgreSQL build does not support threads.\n");
58  fprintf(stderr, "Perhaps rerun 'configure' using '--enable-thread-safety'.\n");
59  return 1;
60 }
int sigwait ( const sigset_t *  set,
int *  sig 
)