Thread::getTid returns pid_t gettid() after run
This is needed when the parent or any other thread besides the child needs access to the child's kernel tid. Change-Id: Ib148505913eb78314cfd76657c30d7b20663dffd
This commit is contained in:
@@ -98,7 +98,8 @@ endif
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
external/zlib \
|
||||
external/icu4c/common
|
||||
external/icu4c/common \
|
||||
bionic/libc/private
|
||||
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
|
||||
@@ -114,7 +115,10 @@ include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
ifeq ($(TARGET_OS),linux)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_C_INCLUDES += external/zlib external/icu4c/common
|
||||
LOCAL_C_INCLUDES += \
|
||||
external/zlib \
|
||||
external/icu4c/common \
|
||||
bionic/libc/private
|
||||
LOCAL_LDLIBS := -lrt -ldl -lpthread
|
||||
LOCAL_MODULE := libutils
|
||||
LOCAL_SRC_FILES := $(commonSources) BackupData.cpp BackupHelpers.cpp
|
||||
|
||||
Reference in New Issue
Block a user