(name: String, ty: String, local_key: u64)
| 61 | } |
| 62 | |
| 63 | pub(crate) fn context(name: String, ty: String, local_key: u64) -> Context { |
| 64 | Arc::new(ContextInner { |
| 65 | name, |
| 66 | ty, |
| 67 | local_key, |
| 68 | id: GRAPH_ID.fetch_add(1, Ordering::Relaxed), |
| 69 | lock_ops: Event::new(), |
| 70 | is_closed: AtomicBool::new(false), |
| 71 | }) |
| 72 | } |
no outgoing calls
no test coverage detected