Original commit message from CVS:
move cothread_context definition over to the .c
#define STACK_SIZE 0x200000
+struct _cothread_context {
+ cothread_state *threads[COTHREAD_MAXTHREADS];
+ int nthreads;
+ int current;
+ GHashTable *data;
+};
+
+
pthread_key_t _cothread_key = -1;
/* Disablig this define allows you to shut off a few checks in
jmp_buf jmp;
};
-struct _cothread_context {
- cothread_state *threads[COTHREAD_MAXTHREADS];
- int nthreads;
- int current;
- GHashTable *data;
-};
cothread_context* cothread_init();
cothread_state* cothread_create (cothread_context *ctx);