threadsupport.h

Reference Documentation

Platform
Intel® PAC
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.10
Napatech Software Suite: examples/common/threadsupport.h File Reference
threadsupport.h File Reference
#include <windows.h>

Go to the source code of this file.

Typedefs

typedef HANDLE pthread_t
 
typedef unsigned(__stdcall * start_address_t) (void *parameter)
 

Functions

int pthread_create (HANDLE *thread, DWORD *attr, start_address_t start_routine, void *parameter)
 
int pthread_join (HANDLE thread, void **value_ptr)
 

Typedef Documentation

typedef HANDLE pthread_t

This file contain the Windows pthread support functions

Examples:
net/ipfdemo/ipfdemo_example.c.

Definition at line 57 of file threadsupport.h.

typedef unsigned(__stdcall * start_address_t) (void *parameter)
Examples:
net/ipfdemo/ipfdemo_example.c.

Definition at line 58 of file threadsupport.h.

Function Documentation

int pthread_create ( HANDLE *  thread,
DWORD *  attr,
start_address_t  start_routine,
void *  parameter 
)
Examples:
net/ipfdemo/ipfdemo_example.c.

Referenced by main().

int pthread_join ( HANDLE  thread,
void **  value_ptr 
)
Examples:
net/ipfdemo/ipfdemo_example.c.

Referenced by main().