host: switch over from using pthread.h to libbladeRF's thread.h

This commit is contained in:
Robert Ghilduta 2023-12-03 15:26:50 -08:00
commit 7985676d0d
7 changed files with 7 additions and 7 deletions

View file

@ -48,7 +48,7 @@
/* Use pthreads */
#include <pthread.h>
#include "thread.h"
#include <time.h>
#define CLOCK_REALTIME 0

View file

@ -25,7 +25,7 @@
#ifndef WIN_CLOCK_GETTIME_H_
#define WIN_CLOCK_GETTIME_H_
#include <pthread.h>
#include "thread.h"
#ifdef __cplusplus
extern "C" {

View file

@ -25,7 +25,7 @@
#ifndef WIN_GETTIMEOFDAY_H_
#define WIN_GETTIMEOFDAY_H_
#include <pthread.h>
#include "thread.h"
#ifdef __cplusplus
extern "C" {

View file

@ -25,7 +25,7 @@
#ifndef WIN_NANOSLEEP_H_
#define WIN_NANOSLEEP_H_
#include <pthread.h>
#include "thread.h"
#ifdef __cplusplus
extern "C" {

View file

@ -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"

View file

@ -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>

View file

@ -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>