Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:needRun_
(Results
1 - 2
of
2
) sorted by relevance
/foundation/communication/netmanager_base/utils/common_utils/include/
H
A
D
delayed_queue.h
31
DelayedQueue() : index_(0),
needRun_
(true)
in DelayedQueue()
34
while (
needRun_
) {
in DelayedQueue()
45
if (!
needRun_
) {
in DelayedQueue()
49
needRunCondition_.wait_for(needRunLock, std::chrono::seconds(1), [this] { return !
needRun_
; });
in DelayedQueue()
58
// set
needRun_
= false, and notify the thread to wake
in ~DelayedQueue()
59
needRun_
= false;
in ~DelayedQueue()
85
std::atomic_bool
needRun_
;
member in OHOS::NetManagerStandard::DelayedQueue
/foundation/communication/netstack/utils/common_utils/include/
H
A
D
thread_pool.h
57
explicit ThreadPool(uint32_t timeout) : timeout_(timeout), idleThreadNum_(0),
needRun_
(true)
in ThreadPool()
69
// set
needRun_
= false, and notify all the thread to wake and terminate
in ~ThreadPool()
70
needRun_
= false;
in ~ThreadPool()
153
[this] { return !
needRun_
|| !IsQueueEmpty(); });
in Sleep()
161
while (
needRun_
) {
in RunTask()
170
if (!
needRun_
) {
in RunTask()
207
* when ThreadPool object is deleted, set
needRun_
to false, mean that all thread should be terminated
209
std::atomic_bool
needRun_
;
member in OHOS::NetStack::ThreadPool
Completed in 2 milliseconds