PostgreSQL Source Code  git master
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.


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

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 

Definition at line 55 of file thread_test.c.

References close, fd(), pthread_mutex_lock(), pthread_mutex_unlock(), pthread_t, and strerror().

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 }

◆ sigwait()

int sigwait ( const sigset_t *  set,
int *  sig 

Referenced by PQsslAttributeNames().