TwiceAsNice  2019-02-18
Macros | Functions | Variables
wait_cancel.c File Reference
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "main.h"
Include dependency graph for wait_cancel.c:

Macros

#define _15_SEC   (15L * 1000L)
 

Functions

static int _service_test (int fd)
 
static int _wait_thread (void *arg)
 
static int _create_thread_1 (int index)
 
static int _create_thread_2 (int index)
 
static int _delete_thread_1 (int index)
 
static int _delete_thread_2 (int count)
 
static int _function_test (int fd)
 
int wait_cancel_test (int fd)
 

Variables

static const gsc_wait_t wait_src []
 
static gsc_wait_t wait_dst [ARRAY_ELEMENTS(wait_src)]
 
static int wait_fd
 
static gsc_thread_t wait_thread [ARRAY_ELEMENTS(wait_src)]
 

Macro Definition Documentation

◆ _15_SEC

#define _15_SEC   (15L * 1000L)

Function Documentation

◆ _create_thread_1()

static int _create_thread_1 ( int  index)
static

◆ _create_thread_2()

static int _create_thread_2 ( int  index)
static

◆ _delete_thread_1()

static int _delete_thread_1 ( int  index)
static

◆ _delete_thread_2()

static int _delete_thread_2 ( int  count)
static

◆ _function_test()

static int _function_test ( int  fd)
static

◆ _service_test()

static int _service_test ( int  fd)
static

◆ _wait_thread()

static int _wait_thread ( void *  arg)
static

◆ wait_cancel_test()

int wait_cancel_test ( int  fd)

Variable Documentation

◆ wait_dst

gsc_wait_t wait_dst[ARRAY_ELEMENTS(wait_src)]
static

◆ wait_fd

int wait_fd
static

◆ wait_src

const gsc_wait_t wait_src[]
static

◆ wait_thread

gsc_thread_t wait_thread[ARRAY_ELEMENTS(wait_src)]
static