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 58 of file thread_test.c.

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

59 {
60  fprintf(stderr, "This PostgreSQL build does not support threads.\n");
61  fprintf(stderr, "Perhaps rerun 'configure' using '--enable-thread-safety'.\n");
62  return 1;
63 }
#define fprintf
Definition: port.h:197

◆ sigwait()

int sigwait ( const sigset_t *  set,
int *  sig 

Referenced by PQgssEncInUse().