Revision 1.1 |
Revision 1.2 |
Licence:
cat LICENCE
|
CoW was developed at the University of California, Davis by Takashi
Ishihara <ishihara@cs.ucdavis.edu> as part of his graduate research
|
|
on cooperative multithreading. It is now maintained by Matt Roper
<roper@cs.ucdavis.edu>.
|
|
|
Compile/Install:
./configure # you must edit Mekefile to set appropreate /path/to/pth
make
make install
---
|
To use CoW, you will need to install a copy of the GNU Pth threading
library and patch it to include the pth_msgport_push() function. A
patch is provided in the file pthcow.diff in this distribution.
Future releases will probably include a stripped down copy of Pth
so that this step is not required.
|
example of Makefile modification:
CFLAGS = -I/home/ishihara/pkg/include
PTHDIR = /home/ishihara/pkg/lib
---
I also modified pth lib a bit, but no time to find it out, so if you had
any problem, please let me know, and i'll fix immediately.
|
|
|
|
Coding Style:
indent -bli0 +line-length80 *.c
(but not indent'ed all files)
|
Installation steps:
* apply pthcow.diff to your GNU Pth source
* build and install Pth
* ./configure
|
|
* make
|
Note:
|
Note:
|
CoW is alpha, meaning it's experimental + under development.
Suggestions are welcomed.
In the process of cleaning up the src, it seems that one or more feature
|
CoW is still in alpha, so there are probably bugs. If you have any
questions, don't hesitate to send an email to roper@cs.ucdavis.edu.
Send bug reports to the same address.
|
working before now seem to have troubles. I'll fix ASAP.
More info is available from http://wwwcsif.cs.ucdavis.edu/~ishihara/cow/ .
Current version may not work with non-pool version (defined in schedule.h) .
.. and I know src need to be re-organized + re-written + clean-up more.
|
|
|
|