Home
last modified time | relevance | path

Searched refs:Once (Results 1 - 14 of 14) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dregistry.rs20 use std::sync::Once;
31 once: Once,
41 once: Once::new(), in default()
100 static REGISTRY_ONCE: Once = Once::new();
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dmod.rs35 use std::sync::Once;
69 static SSL_INIT: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/windows/
H A Dmod.rs20 use std::sync::Once;
131 static SIGNAL_ONCE: Once = Once::new(); in init_signal()
H A Dregistry.rs15 use std::sync::Once;
47 static REGISTRY_ONCE: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dnet.rs16 use std::sync::{Arc, Mutex, Once};
24 static INIT: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_signal/src/
H A Dsig_map.rs16 use std::sync::Once;
30 // Although a mutex Once is used, but the mutex will only be locked for once
34 static ONCE: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dmod.rs23 use std::sync::Once;
99 static ONCE: Once = Once::new();
131 static ONCE: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/sys/unix/
H A Dzombie_manager.rs16 use std::sync::{Mutex, MutexGuard, Once};
31 static ONCE: Once = Once::new();
/commonlibrary/rust/ylong_http/ylong_http_client/src/
H A Derror.rs18 use std::sync::Once;
200 static ONCE: Once = Once::new();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Ddriver.rs297 static ONCE: std::sync::Once = std::sync::Once::new(); in initialize()
/commonlibrary/rust/ylong_runtime/ylong_signal/tests/
H A Dsignal.rs18 use std::sync::{Arc, Once};
195 static ONCE: Once = Once::new();
/commonlibrary/ets_utils/js_concurrent_module/worker/
H A Dworker.h214 static napi_value Once(napi_env env, napi_callback_info cbinfo);
H A Dworker.cpp74 DECLARE_NAPI_FUNCTION("once", Once), in InitWorker()
492 napi_value Worker::Once(napi_env env, napi_callback_info cbinfo) in Once() function in Commonlibrary::Concurrent::WorkerModule::Worker
/commonlibrary/ets_utils/js_concurrent_module/worker/test/
H A Dtest_worker.cpp1252 funcName = "Once"; in HWTEST_F()
1254 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::Once, worker, &cb); in HWTEST_F()
1299 funcName = "Once"; in HWTEST_F()
1305 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::Once, worker, &cb); in HWTEST_F()
1334 std::string funcName = "Once"; in HWTEST_F()
1336 napi_create_function(env, funcName.c_str(), funcName.size(), Worker::Once, worker, &cb); in HWTEST_F()

Completed in 21 milliseconds