diff options
author | Nikias Bassen | 2011-09-03 02:07:09 +0200 |
---|---|---|
committer | Martin Szulecki | 2012-03-18 20:40:54 +0100 |
commit | 6a83ef58a1032e3b336587e2f3a19659ae325c25 (patch) | |
tree | 27e12297bc66bd22a0cfc86459413a49a0d998f2 /src/notification_proxy.h | |
parent | b586203dbef26f9e94325b57867478eda504e5a1 (diff) | |
download | libimobiledevice-6a83ef58a1032e3b336587e2f3a19659ae325c25.tar.gz libimobiledevice-6a83ef58a1032e3b336587e2f3a19659ae325c25.tar.bz2 |
Remove gthread dependency and use pthreads instead
Diffstat (limited to 'src/notification_proxy.h')
-rw-r--r-- | src/notification_proxy.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/notification_proxy.h b/src/notification_proxy.h index 8d5cd24..4a9cdad 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h @@ -21,17 +21,17 @@ #ifndef INOTIFICATION_PROXY_H #define INOTIFICATION_PROXY_H -#include <glib.h> +#include <pthread.h> #include "libimobiledevice/notification_proxy.h" #include "property_list_service.h" struct np_client_private { property_list_service_client_t parent; - GMutex *mutex; - GThread *notifier; + pthread_mutex_t mutex; + pthread_t notifier; }; -gpointer np_notifier(gpointer arg); +void* np_notifier(void* arg); #endif |