var searchIndex = {}; searchIndex["scoped_pool"] = {"doc":"# scoped-pool","items":[[3,"Pool","scoped_pool","A thread-pool providing scoped and unscoped threads.",null,null],[3,"Scope","","An execution scope, represents a set of jobs running on a Pool.",null,null],[3,"WaitGroup","","A synchronization primitive for awaiting a set of actions.",null,null],[11,"clone","","",0,null],[11,"new","","Create a new Pool with `size` threads.",0,{"inputs":[{"name":"usize"}],"output":{"name":"pool"}}],[11,"empty","","Create an empty Pool, with no threads.",0,{"inputs":[],"output":{"name":"pool"}}],[11,"spawn","","Spawn a `'static'` job to be run on this pool.",0,null],[11,"scoped","","Create a Scope for scheduling a group of jobs in `'scope'`.",0,null],[11,"shutdown","","Shutdown the Pool.",0,null],[11,"expand","","Expand the Pool by spawning an additional thread.",0,null],[11,"forever","","Create a Scope which lasts forever.",1,{"inputs":[{"name":"pool"}],"output":{"name":"scope"}}],[11,"execute","","Add a job to this scope.",1,null],[11,"recurse","","Add a job to this scope which itself will get access to the scope.",1,null],[11,"zoom","","Create a new subscope, bound to a lifetime smaller than our existing Scope.",1,null],[11,"join","","Awaits all jobs submitted on this Scope to be completed.",1,null],[11,"new","","Create a new empty WaitGroup.",2,{"inputs":[],"output":{"name":"self"}}],[11,"submit","","Submit to this WaitGroup, causing `join` to wait\nfor an additional `complete`.",2,null],[11,"complete","","Complete a previous `submit`.",2,null],[11,"poison","","Poison the WaitGroup so all `join`ing threads panic.",2,null],[11,"join","","Wait for `submit`s to this WaitGroup to be `complete`d.",2,null]],"paths":[[3,"Pool"],[3,"Scope"],[3,"WaitGroup"]]}; initSearch(searchIndex);