Move include from BH/Thread.h to impls' Thread.h
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Condition *BH_ConditionNew(void)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Mutex *BH_MutexNew(void)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Semaphore *BH_SemaphoreNew(int value)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Thread *BH_ThreadNew(size_t stack,
|
||||
BH_ThreadCallback callback,
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#define BH_PLATFORM_DUMMY_THREAD_H
|
||||
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
struct BH_Condition
|
||||
{
|
||||
int implement;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
int BH_TssCreate(BH_GenericCallback callback)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define BH_PLATFORM_POSIX_THREAD_H
|
||||
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Condition *BH_ConditionNew(void)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Mutex *BH_MutexNew(void)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
|
||||
|
||||
BH_Semaphore *BH_SemaphoreNew(int value)
|
||||
{
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <process.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef BH_PLATFORM_WIN32_THREAD_H
|
||||
#define BH_PLATFORM_WIN32_THREAD_H
|
||||
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "Thread.h"
|
||||
|
||||
#include <BH/Thread.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user