ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.h
(Generate patch)

Comparing libcoro/coro.h (file contents):
Revision 1.14 by root, Thu Oct 26 05:20:47 2006 UTC vs.
Revision 1.15 by root, Thu Oct 26 07:27:50 2006 UTC

100typedef void (*coro_func)(void *); 100typedef void (*coro_func)(void *);
101 101
102/* 102/*
103 * A coroutine state is saved in the following structure. Treat it as a 103 * A coroutine state is saved in the following structure. Treat it as a
104 * opaque type. errno and sigmask might be saved, but don't rely on it, 104 * opaque type. errno and sigmask might be saved, but don't rely on it,
105 * implement your own switching primitive. 105 * implement your own switching primitive if you need it.
106 */ 106 */
107typedef struct coro_context coro_context; 107typedef struct coro_context coro_context;
108 108
109/* 109/*
110 * This function creates a new coroutine. Apart from a pointer to an 110 * This function creates a new coroutine. Apart from a pointer to an

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines