• Home
  • Raw
  • Download

Lines Matching full:guard

17 use crate::guard::Guard;
80 pub fn pin(&self) -> Guard { in pin() argument
149 let guard = &handle.pin(); in flush_local_bag() localVariable
151 let a = Owned::new(7).into_shared(guard); in flush_local_bag()
152 guard.defer_destroy(a); in flush_local_bag()
154 assert!(!(*guard.local).bag.with(|b| (*b).is_empty())); in flush_local_bag()
156 while !(*guard.local).bag.with(|b| (*b).is_empty()) { in flush_local_bag()
157 guard.flush(); in flush_local_bag()
169 let guard = &handle.pin(); in garbage_buffering() localVariable
172 let a = Owned::new(7).into_shared(guard); in garbage_buffering()
173 guard.defer_destroy(a); in garbage_buffering()
175 assert!(!(*guard.local).bag.with(|b| (*b).is_empty())); in garbage_buffering()
193 let guard = &handle.pin(); in pin_holds_advance() localVariable
196 collector.global.collect(guard); in pin_holds_advance()
220 let guard = &handle.pin(); in incremental() localVariable
222 let a = Owned::new(7i32).into_shared(guard); in incremental()
223 guard.defer_unchecked(move || { in incremental()
228 guard.flush(); in incremental()
238 let guard = &handle.pin(); in incremental() localVariable
239 collector.global.collect(guard); in incremental()
257 let guard = &handle.pin(); in buffering() localVariable
259 let a = Owned::new(7i32).into_shared(guard); in buffering()
260 guard.defer_unchecked(move || { in buffering()
275 let guard = &handle.pin(); in buffering() localVariable
276 collector.global.collect(guard); in buffering()
301 let guard = &handle.pin(); in count_drops() localVariable
304 let a = Owned::new(Elem(7i32)).into_shared(guard); in count_drops()
305 guard.defer_destroy(a); in count_drops()
307 guard.flush(); in count_drops()
311 let guard = &handle.pin(); in count_drops() localVariable
312 collector.global.collect(guard); in count_drops()
329 let guard = &handle.pin(); in count_destroy() localVariable
332 let a = Owned::new(7i32).into_shared(guard); in count_destroy()
333 guard.defer_unchecked(move || { in count_destroy()
338 guard.flush(); in count_destroy()
342 let guard = &handle.pin(); in count_destroy() localVariable
343 collector.global.collect(guard); in count_destroy()
364 let mut guard = handle.pin(); in drop_array() localVariable
372 let a = Owned::new(v).into_shared(&guard); in drop_array()
374 guard.defer_destroy(a); in drop_array()
376 guard.flush(); in drop_array()
380 guard.repin(); in drop_array()
381 collector.global.collect(&guard); in drop_array()
398 let guard = &handle.pin(); in destroy_array() localVariable
408 guard.defer_unchecked(move || { in destroy_array()
412 guard.flush(); in destroy_array()
416 let guard = &handle.pin(); in destroy_array() localVariable
417 collector.global.collect(guard); in destroy_array()
446 let guard = &handle.pin(); in stress() localVariable
448 let a = Owned::new(Elem(7i32)).into_shared(guard); in stress()
449 guard.defer_destroy(a); in stress()
459 let guard = &handle.pin(); in stress() localVariable
460 collector.global.collect(guard); in stress()