Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 95) sorted by relevance

1234

/commonlibrary/memory_utils/libdmabufheap/src/
Ddmabuf_alloc.c110 struct dma_buf_sync sync = {0}; in DmabufHeapBufferSyncStart() local
111 sync.flags = DMA_BUF_SYNC_START | syncType; in DmabufHeapBufferSyncStart()
112 return ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in DmabufHeapBufferSyncStart()
122 struct dma_buf_sync sync = {0}; in DmabufHeapBufferSyncEnd() local
123 sync.flags = DMA_BUF_SYNC_END | syncType; in DmabufHeapBufferSyncEnd()
124 return ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in DmabufHeapBufferSyncEnd()
/commonlibrary/rust/ylong_http/ylong_http_client/
DCargo.toml15 ….20.1", features = ["io-util", "net", "rt", "rt-multi-thread", "macros", "sync", "time"], optional…
16 …penharmony-sig/commonlibrary_rust_ylong_runtime.git", features = ["net", "sync", "fs", "macros", "…
27 "sync",
33 sync = [] # Uses sync interfaces.
76 required-features = ["sync", "http1_1", "__tls"]
91 required-features = ["sync", "http1_1"]
96 required-features = ["sync", "http1_1"]
101 required-features = ["sync", "http1_1"]
/commonlibrary/rust/ylong_runtime/ylong_runtime/
DCargo.toml17 "sync",
25 "sync",
45 fs = ["sync"]
48 sync = []
78 required-features = ["sync"]
83 required-features = ["sync"]
118 required-features = ["sync"]
123 required-features = ["sync"]
DBUILD.gn28 "sync",
47 "--cfg=feature=\"sync\"",
67 "--cfg=feature=\"sync\"",
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/
Dunbounded.rs16 use crate::sync::error::{RecvError, SendError, TryRecvError};
17 use crate::sync::mpsc::channel::{channel, Rx, Tx};
18 use crate::sync::mpsc::queue::Queue;
19 use crate::sync::mpsc::Container;
24 use crate::sync::error::RecvTimeoutError;
Dbounded.rs16 use crate::sync::error::{RecvError, SendError, TryRecvError, TrySendError};
17 use crate::sync::mpsc::array::Array;
18 use crate::sync::mpsc::channel::{channel, Rx, Tx};
19 use crate::sync::mpsc::Container;
21 use crate::sync::error::{RecvTimeoutError, SendTimeoutError};
22 use crate::sync::mpsc::array::SendPosition;
Dchannel.rs15 use std::sync::atomic::AtomicUsize;
16 use std::sync::atomic::Ordering::{AcqRel, Relaxed};
17 use std::sync::Arc;
19 use crate::sync::mpsc::Container;
Darray.rs18 use std::sync::atomic::AtomicUsize;
19 use std::sync::atomic::Ordering::{AcqRel, Acquire, Release};
24 use crate::sync::atomic_waker::AtomicWaker;
25 use crate::sync::error::{RecvError, SendError, TryRecvError, TrySendError};
26 use crate::sync::mpsc::Container;
27 use crate::sync::wake_list::WakerList;
Dqueue.rs18 use std::sync::atomic::Ordering::{AcqRel, Acquire, Release};
19 use std::sync::atomic::{AtomicBool, AtomicPtr, AtomicUsize};
24 use crate::sync::atomic_waker::AtomicWaker;
25 use crate::sync::error::{RecvError, SendError, TryRecvError};
26 use crate::sync::mpsc::Container;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dcurrent_thread.rs18 use std::sync::atomic::AtomicBool;
20 use std::sync::atomic::AtomicUsize;
21 use std::sync::atomic::Ordering::{Acquire, Release};
22 use std::sync::{Arc, Mutex};
49 self.count.fetch_add(1, std::sync::atomic::Ordering::AcqRel); in schedule()
141 .fetch_add(1, std::sync::atomic::Ordering::AcqRel); in spawn()
194 use crate::sync::Waiter;
195 use std::sync::atomic::AtomicUsize;
196 use std::sync::atomic::Ordering::{Acquire, Release};
197 use std::sync::{Condvar, Mutex};
[all …]
Dsleeper.rs14 use std::sync::atomic::AtomicUsize;
15 use std::sync::atomic::Ordering::SeqCst;
16 use std::sync::Mutex;
Dparker.rs14 use std::sync::atomic::AtomicUsize;
15 use std::sync::atomic::Ordering::SeqCst;
16 use std::sync::{Arc, Condvar, Mutex};
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_sync_mutex_perf.rs16 use std::sync::Arc;
19 use ylong_runtime::sync::Mutex;
Dylong_sync_rwlock_perf.rs16 use std::sync::Arc;
19 use ylong_runtime::sync::rwlock::RwLock;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
Ddriver.rs17 use std::sync::atomic::AtomicUsize;
18 use std::sync::{Arc, Mutex};
104 .load(std::sync::atomic::Ordering::Acquire) in get_register_count()
112 .load(std::sync::atomic::Ordering::Acquire) in get_ready_count()
265 .fetch_add(events.len(), std::sync::atomic::Ordering::AcqRel); in drive()
275 static ONCE: std::sync::Once = std::sync::Once::new(); in initialize()
335 .fetch_add(1, std::sync::atomic::Ordering::AcqRel); in register_source()
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dmutex.rs24 use std::sync::Arc;
28 use ylong_runtime::sync::Mutex;
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_mutex.rs91 use std::sync::Arc;
94 use tokio::sync::Mutex;
95 use ylong_runtime::sync::Mutex as YlongMutex;
Dylong_tokio_rwlock.rs31 use std::sync::Arc;
34 use tokio::sync::RwLock;
35 use ylong_runtime::sync::rwlock::RwLock as YlongRwlock;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
Doneshot.rs46 use std::sync::atomic::AtomicUsize;
47 use std::sync::atomic::Ordering::{AcqRel, Acquire, Release, SeqCst};
48 use std::sync::Arc;
465 use crate::sync::error::TryRecvError;
466 use crate::sync::oneshot;
Datomic_waker.rs16 use std::sync::atomic::AtomicU8;
17 use std::sync::atomic::Ordering::{AcqRel, Acquire, Release};
Drwlock.rs19 use std::sync::atomic::AtomicI64;
20 use std::sync::atomic::Ordering::{AcqRel, Acquire, Release};
22 use crate::sync::semaphore_inner::SemaphoreInner;
23 use crate::sync::LockError;
343 use std::sync::Arc;
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/task_helpers/
Dmod.rs16 use std::sync::Arc;
18 use tokio::sync::RwLock;
24 use ylong_runtime::sync::RwLock as YlongRwlock;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Dmod.rs24 use std::sync::atomic::AtomicBool;
25 use std::sync::atomic::Ordering::Relaxed;
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dpool.rs19 use std::sync::{Arc, Mutex};
58 use std::sync::{Arc, Mutex};
/commonlibrary/rust/ylong_http/ylong_http_client/src/
Dlib.rs59 pub(crate) use tokio::sync::{
75 pub(crate) use ylong_runtime::sync::{

1234