Loading include/cutils/threads.h +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ extern "C" { #if !defined(_WIN32) #include <pthread.h> #include <sys/types.h> typedef struct { pthread_mutex_t lock; Loading libcutils/threads.c +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ // For gettid. #if defined(__APPLE__) #include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED #include <stdint.h> #include <stdlib.h> #include <sys/syscall.h> #include <sys/time.h> #include <unistd.h> Loading Loading
include/cutils/threads.h +1 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ extern "C" { #if !defined(_WIN32) #include <pthread.h> #include <sys/types.h> typedef struct { pthread_mutex_t lock; Loading
libcutils/threads.c +2 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ // For gettid. #if defined(__APPLE__) #include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED #include <stdint.h> #include <stdlib.h> #include <sys/syscall.h> #include <sys/time.h> #include <unistd.h> Loading