Home
last modified time | relevance | path

Searched refs:old (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/memory_utils/libpurgeablemem/common/src/
H A Dux_page_table_c.c277 static inline bool UxpteCAS_(uxpte_t *uxpte, uxpte_t old, uxpte_t newVal) in UxpteCAS_() argument
279 return __sync_bool_compare_and_swap(uxpte, old, newVal); in UxpteCAS_()
284 uxpte_t old = 0; in UxpteAdd() local
287 old = UxpteLoad(pte); in UxpteAdd()
288 if (old + incNum < old || old + incNum < incNum) { in UxpteAdd()
291 newVal = old + incNum; in UxpteAdd()
292 if (ULONG_MAX - old < incNum) { in UxpteAdd()
295 if (IsUxpteUnderReclaim(old)) { in UxpteAdd()
304 uxpte_t old; UxpteSub() local
312 uxpte_t old = UxpteLoad(pte); UxpteClear_() local
[all...]
/commonlibrary/rust/ylong_runtime/ylong_signal/src/
H A Dwindows.rs53 let old = unsafe { libc::signal(sig_num, sig_handler as usize) };
54 if old == SIG_ERR as sighandler_t {
70 // There could be a race condition between swapping the old handler with the new
72 // procedure. Because of the race condition, the old handler and the new
74 // store the old handler into global before swapping the handler in
76 // of the signal cannot be found, we execute this old handler instead if the
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dstate.rs205 /// Turns the task state into scheduling. Returns the old state value.
320 let old = INIT;
322 self.0.compare_exchange(old, new, Relaxed, Relaxed) == Ok(old)

Completed in 2 milliseconds