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. Cothreads are usually used by a #GstScheduler.
#GstScheduler
The cothread state structure
@ctx:
@cothreadnum:
@priv:
@func:
@argc:
@argv:
@flags:
@sp:
@jmp:
@stack_base:
@stack_size:
@magic_number:
@cothreads:
@main:
@current:
@mutex:
@gst_thread:
@argc:
@argv:
@Returns:
Indicates the cothread is started.
Indicates the cothread is destroyed.
@Returns:
@ctx:
@cothread:
@key:
@data:
@cothread:
@key:
@Returns:
@ctx:
@Returns:
@cothread:
@cothread:
@func:
@argc:
@argv:
@cothread:
@cothread:
@cothread:
@data:
@cothread:
@Returns:
@cothread:
@cothread:
@Returns:
@cothread:
@ctx:
@Returns:
@Returns:
@Returns: