PostgreSQL Source Code
git master
|
#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
#include <stdint.h>
#include <stdlib.h>
#include "ecpg_config.h"
#include <pthread.h>
Go to the source code of this file.
Macros | |
#define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
Functions | |
void * | test_thread (void *arg) |
int | main () |
Variables | |
int | nthreads = 10 |
int | iterations = 20 |
#define ECPGdebug | ( | X, | |
Y | |||
) | ECPGdebug((X)+100,(Y)) |
Definition at line 7 of file thread-thread_implicit.c.
int main | ( | void | ) |
Definition at line 41 of file thread-thread_implicit.c.
References calloc, ECPGconnect(), ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_EOIT, ECPGt_EORT, ECPGt_int, ECPGt_NO_INDICATOR, ECPGtrans(), fprintf, free, iterations, nthreads, printf, and test_thread().
void* test_thread | ( | void * | arg | ) |
Definition at line 132 of file thread-thread_implicit.c.
References arg, ECPGconnect(), ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_char, ECPGt_EOIT, ECPGt_EORT, ECPGt_int, ECPGt_NO_INDICATOR, ECPGtrans(), iterations, printf, snprintf, sqlca, and sqlprint().
Referenced by main().
int iterations = 20 |
Definition at line 39 of file thread-thread_implicit.c.
Referenced by main(), and test_thread().
int nthreads = 10 |
Definition at line 38 of file thread-thread_implicit.c.
Referenced by main().