From 587990158fe0a7ee9a8ee086d83d1d61d61cc56b Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sun, 14 Sep 2008 22:23:01 +0200 Subject: Change lock to mutex and add tool to check AFC in multithreaded env. --- src/AFC.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/AFC.h') diff --git a/src/AFC.h b/src/AFC.h index f05d831..463c13e 100644 --- a/src/AFC.h +++ b/src/AFC.h @@ -26,6 +26,7 @@ #include #include #include +#include typedef struct { uint32 header1, header2; @@ -46,6 +47,7 @@ struct iphone_afc_client_int { AFCPacket *afc_packet; int file_handle; int lock; + GMutex *mutex; }; struct iphone_afc_file_int { -- cgit v1.1-32-gdbae