Revision 1.1 |
Revision 1.3 |
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
---
|
CoW uses a slightly modified version of GNU Pth as its threading
library. A stripped down copy of Pth is included in the CoW
distribution and will be statically linked into the final
executable; it is no longer necessary to install and patch a
separate copy of Pth.
|
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.
|
|
|
|
|
Installation steps:
* ./configure
* make
* make install
* edit /etc/cow.conf
|
|
|
Coding Style:
indent -bli0 +line-length80 *.c
(but not indent'ed all files)
|
The following command line switches are recognized by CoW:
-c <cfgfile>
Specifies the name and location of the CoW configuration
|
|
file. By default, CoW will search for a configuration file
at /etc/cow.conf, /usr/local/etc/cow.conf, and finally at
./cow.conf.
-r <serverroot>
Specifies the base document directory from which files
will be served. If this switch is present, it will override
the value of ServerRoot in the configuration file. If this
switch is not present and ServerRoot is not set in the config
file, the current directory will be the server root.
-p <serverport>
Specifies what TCP port the server should run on. This switch
overrides the ServerPort setting in the configuration file.
If this switch is not present and no value is set for
ServerPort in the configuration file, 8080 will be used.
-v
This switch enables some extra console output during startup.
You probably won't need to use this unless your trying to
debug CoW.
|
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.
|
|
|
|