summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-06-11 01:12:49 +0200
committerGravatar Nikias Bassen2019-06-11 01:12:49 +0200
commit59adbacef6d400d4c6458f26daddda24bcdfd635 (patch)
treefab41dc53822655f4be988017be4031be64cac33 /tools
parent34444782e22ebfd2abc9e5e9c27e170a839ff66b (diff)
downloadlibimobiledevice-59adbacef6d400d4c6458f26daddda24bcdfd635.tar.gz
libimobiledevice-59adbacef6d400d4c6458f26daddda24bcdfd635.tar.bz2
common: Update thread.c/.h to match the one from libusbmuxd
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedebugserverproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/idevicedebugserverproxy.c b/tools/idevicedebugserverproxy.c
index 0b0419b..e99d0bf 100644
--- a/tools/idevicedebugserverproxy.c
+++ b/tools/idevicedebugserverproxy.c
@@ -50,7 +50,7 @@ typedef struct {
} socket_info_t;
struct thread_info {
- thread_t th;
+ THREAD_T th;
struct thread_info *next;
};
@@ -140,7 +140,7 @@ static void *thread_client_to_device(void *data)
int recv_len;
int sent;
char buffer[131072];
- thread_t dtoc;
+ THREAD_T dtoc;
debug("%s: started thread...\n", __func__);
@@ -205,7 +205,7 @@ static void* connection_handler(void* data)
{
debugserver_error_t derr = DEBUGSERVER_E_SUCCESS;
socket_info_t* socket_info = (socket_info_t*)data;
- thread_t ctod;
+ THREAD_T ctod;
debug("%s: client_fd = %d\n", __func__, socket_info->client_fd);