curio/task.py
async def spawn_thread(self, func, *args, daemon=False):
        '''
        Spawn a new async thread into a task group
        '''
        from . import thread
        if self._joined:
            raise RuntimeError("TaskGroup already joined")
        thr = await thread.spawn_thread(func, *args, daemon=daemon)
        await self.add_task(thr)
        return thr

        Spawn a new async thread into a task group
        
Spawn a new async thread into a task group
Spawn a new async thread into a task group
async def spawn_thread(self, func, *args, daemon=False):
        from . import thread
        if self._joined:
            raise RuntimeError("TaskGroup already joined")
        thr = await thread.spawn_thread(func, *args, daemon=daemon)
        await self.add_task(thr)
        return thr
async def spawn_thread ( self , func , * args , daemon = False ) : from . import thread if self . _joined : raise RuntimeError ( "TaskGroup already joined" ) thr = await thread . spawn_thread ( func , * args , daemon = daemon ) await self . add_task ( thr ) return thr
Spawn a new async thread into a task group
Spawn a new async thread into a task group
'''
        Spawn a new async thread into a task group
        '''
self
func
daemon