Home
last modified time | relevance | path

Searched refs:work_ (Results 1 – 4 of 4) sorted by relevance

/foundation/ace/napi/native_engine/
Dnative_async_work.cpp37 : work_({ 0 }), engine_(engine), execute_(execute), complete_(complete), data_(data) in NativeAsyncWork()
39 work_.data = this;
65 int status = uv_queue_work(loop, &work_, AsyncWorkCallback, AsyncAfterWorkCallback); in Queue()
75 int status = uv_cancel((uv_req_t*)&work_); in Cancel()
Dnative_async_work.h77 uv_work_t work_; variable
/foundation/aafwk/standard/frameworks/kits/runtime/native/
Djs_runtime_utils.cpp208 work_.reset(engine.CreateAsyncWork(Execute, Complete, this)); in Start()
209 return work_->Queue(); in Start()
/foundation/aafwk/standard/interfaces/innerkits/runtime/include/
Djs_runtime_utils.h169 std::unique_ptr<NativeAsyncWork> work_; variable