Functions | Variables
cthread.c File Reference
#include <assert.h>
#include "stdafx.h"
#include "cphidget.h"
#include "cphidgetmanager.h"
#include "cusb.h"
#include "cphidgetlist.h"
Include dependency graph for cthread.c:

Go to the source code of this file.

Functions

CThread_func_return_t CentralThreadFunction (CThread_func_arg_t arg)
int CThread_create (CThread *cp, CThread_func_t fp, CThread_func_arg_t arg)
int CThread_create_detached (CThread *cp, CThread_func_t fp, CThread_func_arg_t arg)
void CThread_create_event (EVENT *ev)
int CThread_destroy_event (EVENT *ev)
int CThread_is_my_thread (CThread cp)
void CThread_join (CThread *cp)
int CThread_mutex_destroy (CThread_mutex_t *mp)
int CThread_mutex_init (CThread_mutex_t *mp)
void CThread_mutex_lock (CThread_mutex_t *mp)
void CThread_mutex_unlock (CThread_mutex_t *mp)
void CThread_reset_event (EVENT *ev)
void CThread_set_event (EVENT *ev)
int CThread_wait_on_event (EVENT *ev, EVENT_TIME time)
int JoinCentralThread ()
CThread_func_return_t ReadThreadFunction (CThread_func_arg_t lpdwParam)
int RegisterLocalDevice (CPhidgetHandle phid)
int StartCentralThread ()
CThread_func_return_t WriteThreadFunction (CThread_func_arg_t lpdwParam)

Variables

static CThread CentralThread
static EVENT checkForDevicesEvent
static int checkForDevicesEventInitialized = PFALSE
int pause_usb_traffic = PFALSE
int usb_read_paused = PFALSE
int usb_write_paused = PFALSE

Function Documentation

Definition at line 206 of file cthread.c.

Definition at line 473 of file cthread.c.

Definition at line 486 of file cthread.c.

Definition at line 594 of file cthread.c.

Definition at line 605 of file cthread.c.

Definition at line 516 of file cthread.c.

Definition at line 526 of file cthread.c.

Definition at line 564 of file cthread.c.

Definition at line 553 of file cthread.c.

Definition at line 575 of file cthread.c.

Definition at line 585 of file cthread.c.

Definition at line 667 of file cthread.c.

Definition at line 679 of file cthread.c.

int CThread_wait_on_event ( EVENT ev,
EVENT_TIME  time 
)

Definition at line 616 of file cthread.c.

Definition at line 107 of file cthread.c.

Definition at line 249 of file cthread.c.

Definition at line 135 of file cthread.c.

Definition at line 42 of file cthread.c.

Definition at line 369 of file cthread.c.


Variable Documentation

Definition at line 14 of file cthread.c.

Definition at line 16 of file cthread.c.

Definition at line 15 of file cthread.c.

Definition at line 19 of file cthread.c.

Definition at line 21 of file cthread.c.

Definition at line 20 of file cthread.c.



pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21