host: switch over from using pthread.h to libbladeRF's thread.h
This commit is contained in:
parent
5863f983a2
commit
7985676d0d
7 changed files with 7 additions and 7 deletions
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
/* Use pthreads */
|
||||
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
#include <time.h>
|
||||
#define CLOCK_REALTIME 0
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef WIN_CLOCK_GETTIME_H_
|
||||
#define WIN_CLOCK_GETTIME_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef WIN_GETTIMEOFDAY_H_
|
||||
#define WIN_GETTIMEOFDAY_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef WIN_NANOSLEEP_H_
|
||||
#define WIN_NANOSLEEP_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
#include <math.h>
|
||||
#include <libbladeRF.h>
|
||||
#include "host_config.h"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <libbladeRF.h>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <libbladeRF.h>
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
#include "thread.h"
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue