2004-03-25 04:20:33 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
gthread-cothreads
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-03-30 07:36:19 +00:00
|
|
|
<!-- ##### MACRO COTHREADS_TYPE ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-03-25 04:20:33 +00:00
|
|
|
<!-- ##### MACRO COTHREADS_NAME ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO COTHREADS_NAME_CAPITAL ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION cothread_func ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2004-03-30 07:36:19 +00:00
|
|
|
@Varargs:
|
|
|
|
@Param2:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
2004-03-25 04:20:33 +00:00
|
|
|
@argc:
|
|
|
|
@argv:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### TYPEDEF cothread ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### STRUCT cothread_context ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cothreads:
|
|
|
|
@main:
|
|
|
|
@current:
|
|
|
|
@mutex:
|
|
|
|
@gst_thread:
|
|
|
|
|
|
|
|
<!-- ##### MACRO do_cothread_create ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@new_cothread:
|
|
|
|
@context:
|
|
|
|
@func:
|
|
|
|
@argc:
|
|
|
|
@argv:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO do_cothread_lock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cothread:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO do_cothread_unlock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cothread:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO do_cothread_get_current ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### MACRO do_cothread_get_main ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context:
|
|
|
|
|
|
|
|
|
2004-03-30 07:36:19 +00:00
|
|
|
<!-- ##### MACRO do_cothread_setfunc ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@cothread:
|
|
|
|
@context:
|
|
|
|
@func:
|
|
|
|
@argc:
|
|
|
|
@argv:
|
|
|
|
|
|
|
|
|