libnavajo
web server for static and dynamic pages developement in C++
Classes | Macros | Functions
nvjThread.h File Reference

thread's facilities More...

#include <stdio.h>
#include <string.h>
#include "pthread.h"
Include dependency graph for nvjThread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cancelArg
 

Macros

#define STRERROR_BUF   char strerror_buf[256]
 
#define STRERROR(en)
 

Functions

void create_thread (pthread_t *thread_p, void *(*thread_rtn)(void *), void *data_p)
 
void cancel_thread (pthread_t thread)
 
void wait_for_thread (pthread_t thread)
 
void cancelstate_thread (void)
 
void * thread_timeout_scheduler (void *arg)
 

Detailed Description

thread's facilities

Author
T.Descombes (thier.nosp@m.ry.d.nosp@m.escom.nosp@m.bes@.nosp@m.gmail.nosp@m..com)
Version
1
Date
19/02/15

Macro Definition Documentation

#define STRERROR (   en)
Value:
( \
strerror_r(en, strerror_buf, sizeof strerror_buf) == 0 \
? strerror_buf : "Unknown error" \
)