Lines Matching refs:this
20 // fast because a Box<T> is much smaller than the T we use with a Pool in this
28 // above, this was not the main goal. The main goal was to move off of
47 // *simultaneously* using the pool. The hope is that this uses less memory
74 // simultaneously without synchronization. The intent of this panic is
110 /// The ID of the thread that owns this pool. The owner is the thread
113 /// See comments elsewhere for details, but this is intended to be an
138 // thread. In our implementation below, we guarantee this by only returning the
140 // that created the Pool. Since this can only ever be one thread, it follows
172 /// The pool that this guard is attached to.
197 // Our fast path checks if the caller is the thread that "owns" this
202 // SAFETY: We must guarantee that only one thread gets access to this
205 // owner, then only one thread may receive this value.
218 /// If the pool has no owner, then this will set the owner.
224 // The sentinel 0 value means this pool is not yet owned. We
225 // try to atomically set the owner. If we do, then this thread
241 /// Puts a value back into the pool. Callers don't need to call this. Once
329 // (Technically this is an implementation detail and not a contract of