Permalink
Browse files

Initial commit.

  • Loading branch information...
lefcha committed Feb 27, 2011
0 parents commit a4af8a6b17a3230dad736d66b9fe5511f9c182de
Showing with 4,591 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +19 −0 LICENSE
  3. +2 −0 Makefile
  4. +24 −0 NEWS
  5. +52 −0 README
  6. BIN doc/concurrentlua.png
  7. +898 −0 doc/manual.html
  8. +71 −0 doc/stylesheet.css
  9. +10 −0 samples/example1.lua
  10. +37 −0 samples/example2.lua
  11. +38 −0 samples/example3.lua
  12. +22 −0 samples/example4a.lua
  13. +25 −0 samples/example4b.lua
  14. +33 −0 samples/example5a.lua
  15. +37 −0 samples/example5b.lua
  16. +5 −0 src/Makefile
  17. +38 −0 src/cldaemon/Makefile
  18. +80 −0 src/cldaemon/cldaemon.c
  19. +24 −0 src/clpmd/Makefile
  20. +61 −0 src/clpmd/clpmd
  21. +38 −0 src/cltime/Makefile
  22. +88 −0 src/cltime/cltime.c
  23. +36 −0 src/concurrent/Makefile
  24. +34 −0 src/concurrent/distributed/Makefile
  25. +19 −0 src/concurrent/distributed/cookie.lua
  26. +15 −0 src/concurrent/distributed/init.lua
  27. +149 −0 src/concurrent/distributed/link.lua
  28. +73 −0 src/concurrent/distributed/message.lua
  29. +118 −0 src/concurrent/distributed/monitor.lua
  30. +314 −0 src/concurrent/distributed/network.lua
  31. +72 −0 src/concurrent/distributed/node.lua
  32. +79 −0 src/concurrent/distributed/process.lua
  33. +311 −0 src/concurrent/distributed/register.lua
  34. +53 −0 src/concurrent/distributed/scheduler.lua
  35. +17 −0 src/concurrent/init.lua
  36. +104 −0 src/concurrent/link.lua
  37. +36 −0 src/concurrent/message.lua
  38. +75 −0 src/concurrent/monitor.lua
  39. +19 −0 src/concurrent/option.lua
  40. +109 −0 src/concurrent/process.lua
  41. +61 −0 src/concurrent/register.lua
  42. +69 −0 src/concurrent/root.lua
  43. +123 −0 src/concurrent/scheduler.lua
  44. +9 −0 test/concurrent.sh
  45. +27 −0 test/concurrent/link1.lua
  46. +40 −0 test/concurrent/link2.lua
  47. +24 −0 test/concurrent/message1.lua
  48. +27 −0 test/concurrent/monitor1.lua
  49. +41 −0 test/concurrent/monitor2.lua
  50. +28 −0 test/concurrent/process1.lua
  51. +36 −0 test/concurrent/process2.lua
  52. +43 −0 test/concurrent/register1.lua
  53. +57 −0 test/concurrent/register2.lua
  54. +30 −0 test/concurrent/trapexit1.lua
  55. +45 −0 test/concurrent/trapexit2.lua
  56. +20 −0 test/distributed/cookie1a.lua
  57. +21 −0 test/distributed/cookie1b.lua
  58. +21 −0 test/distributed/cookie2a.lua
  59. +21 −0 test/distributed/cookie2b.lua
  60. +20 −0 test/distributed/link1a.lua
  61. +20 −0 test/distributed/link1b.lua
  62. +17 −0 test/distributed/link2a.lua
  63. +20 −0 test/distributed/link2b.lua
  64. +20 −0 test/distributed/link2c.lua
  65. +20 −0 test/distributed/message1a.lua
  66. +14 −0 test/distributed/message1b.lua
  67. +19 −0 test/distributed/monitor1a.lua
  68. +21 −0 test/distributed/monitor1b.lua
  69. +16 −0 test/distributed/monitor2a.lua
  70. +22 −0 test/distributed/monitor2b.lua
  71. +22 −0 test/distributed/monitor2c.lua
  72. +22 −0 test/distributed/node1a.lua
  73. +21 −0 test/distributed/node1b.lua
  74. +19 −0 test/distributed/process1a.lua
  75. +20 −0 test/distributed/process1b.lua
  76. +27 −0 test/distributed/process2a.lua
  77. +9 −0 test/distributed/process2b.lua
  78. +26 −0 test/distributed/register1a.lua
  79. +21 −0 test/distributed/register1b.lua
  80. +23 −0 test/distributed/register2a.lua
  81. +22 −0 test/distributed/register2b.lua
  82. +22 −0 test/distributed/register2c.lua
  83. +20 −0 test/distributed/trapexit1a.lua
  84. +23 −0 test/distributed/trapexit1b.lua
  85. +17 −0 test/distributed/trapexit2a.lua
  86. +25 −0 test/distributed/trapexit2b.lua
  87. +24 −0 test/distributed/trapexit2c.lua
  88. +8 −0 test/distributed2a.sh
  89. +9 −0 test/distributed2b.sh
  90. +7 −0 test/distributed3a.sh
  91. +8 −0 test/distributed3b.sh
  92. +8 −0 test/distributed3c.sh
@@ -0,0 +1 @@
Lefteris Chatzimparmpas <lefcha@fastmail.net>
19 LICENSE
@@ -0,0 +1,19 @@
Copyright (c) 2007-2011 Eleftherios Chatzimparmpas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,2 @@
all install uninstall clean:
cd src && $(MAKE) $@
24 NEWS
@@ -0,0 +1,24 @@
ConcurrentLua 1.0.6 - 27 Feb 2011
- Project moved to GitHub.
- Updates to the documentation and other information files.
ConcurrentLua 1.0.5 - 9 Mar 2010
- Bug fix; process name registrations in distributed mode sometimes not
working.
ConcurrentLua 1.0.4 - 13 Feb 2010
- Bug fix; cltime.time() problem affecting the scheduler in Mac OS X.
ConcurrentLua 1.0.3 - 23 May 2009
- Bug fix; time calculation for the root process while sleeping was wrong.
- Minor enhancements to the serializer in the handling of tables.
ConcurrentLua 1.0.2 - 21 Jun 2008
- Minor enhancement to the serializer in the handling of strings.
ConcurrentLua 1.0.1 - 24 Mar 2008
- Bug fix; cltime.time() overflow in 32-bit architectures caused problems to
the scheduler.
ConcurrentLua 1.0 - 31 Dec 2007
- Initial release.
52 README
@@ -0,0 +1,52 @@
ConcurrentLua
Description
ConcurrentLua is a system that implements a concurrency model for the Lua
programming language. It is based on the share-nothing asynchronous
message-passing model that is employed in the Erlang programming language.
ConcurrentLua extends Lua's coroutines with message-passing primitives, in
order to support concurrent programming. Distributed programming is supported
transparently with the same message-passing primitives.
ConcurrentLua is implemented as a collection of Lua modules that can be
loaded by any Lua program. Most of the code is written in Lua itself, with
minor parts written in C.
Website
http://github.com/lefcha/concurrentlua
Changes
All the changes in each new release up to the latest are in the NEWS file.
Installation
The LuaSocket and Copas modules are runtime dependencies.
The new package system for Lua 5.1 is used and a makefile is supplied to
build and install:
make all
make install
Documentation
The detailed reference manual can be found in doc/manual.html.
License
Released under the terms and conditions of the MIT/X11 license, included in
the LICENSE file.
Authors
See AUTHORS file.
Binary file not shown.
Oops, something went wrong.

0 comments on commit a4af8a6

Please sign in to comment.