cothreads userspace threads Cothreads are a simple user-space method for switching between subtasks. They're based on setjmp()/longjmp() in their current form. Cothreads are used for loop-based elements that pull data instead of being fed with data. They can also be used to pull a specific region of data out of their src element. The default stack size of a cothread The maximum number of cothreads we are going to support. @ctx: @threadnum: @func: @argc: @argv: @flags: @sp: @top_sp: @pc: @jmp: @threads: @nthreads: @current: @data: the function that will be called when the cothread starts. @argc: @argv: @Returns: Indicates the cothread is started @Returns: @ctx: @Returns: @thread: @func: @argc: @argv: @thread: @ctx: @Returns: @thread: @key: @data: @thread: @key: @Returns: