Changes to Libfiber between r0 and r2
'''Simple Fiber Library'''
http://evanjones.ca/software/threading.html [http://www.rkeene.org/projects/info/resources/threads/libfiber/threading.html]
(blank line)
Implementation of [fibers] (for [cooperative threading]) --> Implementation of [fibers] (for [cooperative threading]) using 3 different techniques:
(blank line)
http://evanjones.ca/software/threading.html [http://www.rkeene.org/projects/info/resources/threads/libfiber/threading.html]
(blank line)
* setjmp()/longjmp()
* ucontext()
* Linux's clone()
(blank line)
Each implementation provides the same API, so they can be used interchangeably.
(blank line)
Mirror of source: http://www.rkeene.org/projects/info/resources/threads/libfiber/libfiber.tar.gz
----
Sample application using Libfiber: http://www.rkeene.org/projects/info/resources/threads/test1-lf.c
Compile:
* $ cc -o test1-lf test1-lf.c libfiber-sjlj.c; or --> * $ cc -o test1-lf test1-lf.c libfiber-sjlj.c''; or''
* $ cc -o test1-lf test1-lf.c libfiber-uc.c; or --> * $ cc -o test1-lf test1-lf.c libfiber-uc.c''; or''
* $ cc -o test1-lf test1-lf.c libfiber-clone.c
Only in r0
Only in r2 --> Modified slightly between r0 and r2