@@ -153,8 +153,8 @@ pub struct Registry {
153153 terminate_count : AtomicUsize ,
154154}
155155
156- /// ////////////////////////////////////////////////////////////////////////
157- /// Initialization
156+ ///////////////////////////////////////////////////////////////////////////
157+ // Initialization
158158
159159static mut THE_REGISTRY : Option < Arc < Registry > > = None ;
160160static THE_REGISTRY_SET : Once = Once :: new ( ) ;
@@ -407,12 +407,12 @@ impl Registry {
407407 }
408408 }
409409
410- /// ////////////////////////////////////////////////////////////////////////
410+ ///////////////////////////////////////////////////////////////////////////
411411 /// MAIN LOOP
412412 ///
413413 /// So long as all of the worker threads are hanging out in their
414414 /// top-level loop, there is no work to be done.
415-
415+ ///
416416 /// Push a job into the given `registry`. If we are running on a
417417 /// worker thread for the registry, this will push onto the
418418 /// deque. Else, it will inject from the outside (which is slower).
@@ -668,8 +668,8 @@ impl ThreadInfo {
668668 }
669669}
670670
671- /// ////////////////////////////////////////////////////////////////////////
672- /// WorkerThread identifiers
671+ ///////////////////////////////////////////////////////////////////////////
672+ // WorkerThread identifiers
673673
674674pub ( super ) struct WorkerThread {
675675 /// the "worker" half of our local deque
@@ -1019,8 +1019,6 @@ impl WorkerThread {
10191019 }
10201020}
10211021
1022- /// ////////////////////////////////////////////////////////////////////////
1023-
10241022unsafe fn main_loop ( thread : ThreadBuilder ) {
10251023 let worker_thread = & WorkerThread :: from ( thread) ;
10261024 unsafe { WorkerThread :: set_current ( worker_thread) } ;
0 commit comments