Commit graph

8 commits

Author SHA1 Message Date
Moritz Bitsch
c96c212fd4 Revert "use stackless coroutines"
This reverts commit ce4605013f.
2018-07-27 10:47:58 +02:00
Moritz Bitsch
ce4605013f use stackless coroutines
no more asm or get/setcontext hacks
2015-08-25 21:17:41 +02:00
Moritz Bitsch
f4b1f3fae5 implement OSX support
* clock_gettime alternative
* add OSX support to coro.c/.h
2015-04-26 21:55:13 +02:00
Moritz Bitsch
49391edebc Implement sleeping coroutines
sleeping is currently used to implement delays, in future it will also
be used for I/O waiting.
2015-03-28 16:02:10 +01:00
Moritz Bitsch
4147db11b5 Add ISC license texts
libcoio is licensed under ISC license, with libcoro (coro.c/.h) under
a dual BSD-Style/GPL license.
2015-03-25 22:02:27 +01:00
Moritz Bitsch
c3d1cef5e7 indent sources
fix style before adding more code
2015-03-25 21:16:49 +01:00
Moritz Bitsch
b62135d7a0 fix building on openbsd
* do not depend on gnu make features
* use asm coros for openbsd
2015-03-21 13:28:01 +01:00
Moritz Bitsch
0452e702a1 Initial import
minimal coroutine library
2015-03-21 12:47:51 +01:00