diff options
| author | 2019-06-11 01:12:49 +0200 | |
|---|---|---|
| committer | 2019-06-11 01:12:49 +0200 | |
| commit | 59adbacef6d400d4c6458f26daddda24bcdfd635 (patch) | |
| tree | fab41dc53822655f4be988017be4031be64cac33 /tools | |
| parent | 34444782e22ebfd2abc9e5e9c27e170a839ff66b (diff) | |
| download | libimobiledevice-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.c | 6 |
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 { | |||
| 50 | } socket_info_t; | 50 | } socket_info_t; |
| 51 | 51 | ||
| 52 | struct thread_info { | 52 | struct thread_info { |
| 53 | thread_t th; | 53 | THREAD_T th; |
| 54 | struct thread_info *next; | 54 | struct thread_info *next; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| @@ -140,7 +140,7 @@ static void *thread_client_to_device(void *data) | |||
| 140 | int recv_len; | 140 | int recv_len; |
| 141 | int sent; | 141 | int sent; |
| 142 | char buffer[131072]; | 142 | char buffer[131072]; |
| 143 | thread_t dtoc; | 143 | THREAD_T dtoc; |
| 144 | 144 | ||
| 145 | debug("%s: started thread...\n", __func__); | 145 | debug("%s: started thread...\n", __func__); |
| 146 | 146 | ||
| @@ -205,7 +205,7 @@ static void* connection_handler(void* data) | |||
| 205 | { | 205 | { |
| 206 | debugserver_error_t derr = DEBUGSERVER_E_SUCCESS; | 206 | debugserver_error_t derr = DEBUGSERVER_E_SUCCESS; |
| 207 | socket_info_t* socket_info = (socket_info_t*)data; | 207 | socket_info_t* socket_info = (socket_info_t*)data; |
| 208 | thread_t ctod; | 208 | THREAD_T ctod; |
| 209 | 209 | ||
| 210 | debug("%s: client_fd = %d\n", __func__, socket_info->client_fd); | 210 | debug("%s: client_fd = %d\n", __func__, socket_info->client_fd); |
| 211 | 211 | ||
