Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Change ThreadLocker's location
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin726 committed Jul 12, 2019
1 parent 674f95f commit cab9ab7
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <third_party/IPC/IPCResult.h>
#include <third_party/IPC/IPCMessageJS.h>
#include <vector>
#include "base/utils/ThreadLocker.h"
#include "base/utils/android/ThreadLocker.h"
#include "base/closure.h"

class BackToWeexCoreQueue {
Expand Down
2 changes: 1 addition & 1 deletion weex_core/Source/android/jsengine/task/timer_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <deque>

#include "android/jsengine/task/timer_task.h"
#include "base/utils/ThreadLocker.h"
#include "base/utils/android/ThreadLocker.h"

class TimerTask;
class WeexTaskQueue;
Expand Down
2 changes: 1 addition & 1 deletion weex_core/Source/android/jsengine/task/weex_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "base/time_calculator.h"
#include "android/jsengine/weex_runtime.h"
#include "base/utils/ThreadLocker.h"
#include "base/utils/android/ThreadLocker.h"

class WeexTask {

Expand Down
4 changes: 2 additions & 2 deletions weex_core/Source/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ set(${BASE_LIBRARY_NAME}_SOURCES
third_party/icu/icu_utf.cpp
utils/log_utils.h
utils/log_utils.cpp
utils/ThreadLocker.h
utils/ThreadLocker.cpp
)

if (ANDROID)
Expand All @@ -92,6 +90,8 @@ if (ANDROID)
android/jni/jbytearray_ref.cpp
android/jni/scoped_java_ref.h
android/jni/scoped_java_ref.cpp
android/ThreadLocker.h
android/ThreadLocker.cpp
)
list(APPEND ${BASE_LIBRARY_NAME}_SOURCES
${BASE_ANDROID_SOURCES}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// Created by Darin on 14/06/2018.
//

#include "base/utils/ThreadLocker.h"
#include "ThreadLocker.h"

int ThreadLocker::lock() {
return pthread_mutex_lock(&mutex_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <third_party/IPC/IPCResult.h>
#include <third_party/IPC/IPCMessageJS.h>
#include <vector>
#include "base/utils/ThreadLocker.h"
#include "base/android/ThreadLocker.h"
#include "base/closure.h"

class BackToWeexCoreQueue {
Expand Down
2 changes: 1 addition & 1 deletion weex_core/Source/js_runtime/weex/task/timer_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

//#include "android/jsengine/task/timer_task.h"
#include "js_runtime/weex/task/timer_task.h"
#include "base/utils/ThreadLocker.h"
#include "base/android/ThreadLocker.h"

class TimerTask;
class WeexTaskQueue;
Expand Down
2 changes: 1 addition & 1 deletion weex_core/Source/js_runtime/weex/task/weex_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define WEEXV8_WEEXTASK_H

#include "base/time_calculator.h"
#include "base/utils/ThreadLocker.h"
#include "base/android/ThreadLocker.h"
#include "js_runtime/weex/utils/weex_jsc_utils.h"
#include "js_runtime/weex/object/weex_runtime_v2.h"
//#include "android/jsengine/weex_runtime.h"
Expand Down

0 comments on commit cab9ab7

Please sign in to comment.