Searched refs:ThreadHolder (Results 1 – 2 of 2) sorted by relevance
77 struct ThreadHolder(Thread); struct78 impl ThreadHolder { impl79 fn new() -> ThreadHolder { in new()80 ThreadHolder(Thread::new(THREAD_ID_MANAGER.lock().unwrap().alloc())) in new()83 impl Drop for ThreadHolder { implementation89 thread_local!(static THREAD_HOLDER: ThreadHolder = ThreadHolder::new());
54 private static final class ThreadHolder { class in ManagementFactory75 return ThreadHolder.THREAD_MX_BEAN; in getThreadMXBean()