diff --git a/Documentation.md b/Documentation.md index e69de29..9b61958 100644 --- a/Documentation.md +++ b/Documentation.md @@ -0,0 +1 @@ +Im going to write it I promise I will \ No newline at end of file diff --git a/README.html b/README.html index 4dc2985..90bde73 100644 --- a/README.html +++ b/README.html @@ -9,7 +9,7 @@
-My multitasking library for lua. It is a pure lua binding, if you ignore the integrations and the love2d compat. If you find any bugs or have any issues, please let me know . If you don’t see a table of contents try using the ReadMe.html file. It is easier to navigate than readme
My multitasking library for lua. It is a pure lua binding, if you ignore the integrations and the love2d compat. If you find any bugs or have any issues, please let me know . If you don’t see a table of contents try using the ReadMe.html file. It is easier to navigate than readme
Note: The latest version of Lua lanes is required if you want to make use of system threads on lua 5.1+. I will update the dependencies for Lua rocks since this library should work fine on lua 5.1+ You also need the lua-net library and the bin library. all installed automatically using luarocks. however you can do this manually if lanes and luasocket are installed. Links:
https://github.com/rayaman/bin
https://github.com/rayaman/multi
https://github.com/rayaman/net
To install copy the multi folder into your environment and you are good to go
If you want to use the system threads, then you’ll need to install lanes!
or use luarocks
luarocks install multi
-Note: Soon you may be able to run multitasking code on multiple machines, network parallelism. This however will have to wait until I hammer out some bugs within the core of system threading itself.
See the rambling section to get an idea of how this will work.
For real-time assistance with my libraries! A place where you can ask questions and get help with any of my libraries. Also, you can request features and stuff there as well.
https://discord.gg/U8UspuA
Upcoming Plans: Adding network support for threading. Kind of like your own lua cloud. This will require the bin, net, and multi library. Once that happens I will include those libraries as a set. This also means that you can expect both a standalone and joined versions of the libraries.
A bug concerns the SystemThreadedJobQueue, only 1 can be used for now. Might change in a future update
DiscordFor real-time assistance with my libraries! A place where you can ask questions and get help with any of my libraries. Also, you can request features and stuff there as well.
https://discord.gg/U8UspuA
Planned features/TODO
+- Make practical examples that show how you can solve real problems
- Finish the wiki stuff. (11% done) — It’s been at 11% for so long. I really need to get on this!
- Test for unknown bugs — This is always going on
-
Network Parallelism This was fun, I have some more plans for this as well
Known Bugs/Issues
A bug concerns the SystemThreadedJobQueue, only 1 can be used for now. Might change in a future update :D Fixed
Usage:
Changes
-
-Update 12.2.1 Time for some bug fixes!
+Update 12.2.2 Time for some more bug fixes!
-
-Update 12.2.0
+Update 12.2.1 Time for some bug fixes!
-
-Update 12.1.0
+Update 12.2.0
-
-Update: 12.0.0 Big update (Lots of additions some changes)
+Update 12.1.0
-
-Update: 1.11.1
+Update: 12.0.0 Big update (Lots of additions some changes)
-
-Update: 1.11.0
+Update: 1.11.1
-
-Update: 1.10.0
+Update: 1.11.0
-
-Update: 1.9.2
+Update: 1.10.0
-
-Update: 1.9.1
+Update: 1.9.2
-
-Update: 1.9.0
+Update: 1.9.1
-
-Update: 1.8.7
+Update: 1.9.0
-
-Update: 1.8.6
+Update: 1.8.7
-
-Update: 1.8.5
+Update: 1.8.6
-
-Update: 1.8.4
+Update: 1.8.5
-
-Update: 1.8.3
+Update: 1.8.4
-
-Update: 1.8.2
+Update: 1.8.3
-
-Update: 1.8.1
+Update: 1.8.2
-
-Update: 1.7.6
+Update: 1.8.1
-
-Update: 1.7.5
+Update: 1.7.6
-
-Update: 1.7.4
+Update: 1.7.5
-
-Update: 1.7.3
+Update: 1.7.4
-
-Update: 1.7.2
+Update: 1.7.3
-
-Update: 1.7.1 Bug Fixes Only
+Update: 1.7.2
-
-Update: 1.7.0
+Update: 1.7.1 Bug Fixes Only
-
-Update: 1.6.0
+Update: 1.7.0
-
-Update: 1.5.0
+Update: 1.6.0
-
-Update: 1.4.1 - First Public release of the library
+Update: 1.5.0
+-
+Update: 1.4.1 - First Public release of the library
+
+
+
-Update 12.2.1 Time for some bug fixes!
Fixed: SystemThreadedJobQueues
+Update 12.2.2 Time for some more bug fixes!
Fixed: multi.Stop() not actually stopping due to the new pirority management scheme and preformance boost changes.
Thats all for this update
Update 12.2.1 Time for some bug fixes!
Fixed: SystemThreadedJobQueues
- You can now make as many job queues as you want! Just a warning when using a large amount of cores for the queue it takes a second or 2 to set up the jobqueues for data transfer. I am unsure if this is a lanes thing or not, but love2d has no such delay when setting up the jobqueue!
- You now connect to the OnReady in the jobqueue object. No more holding everything else as you wait for a job queue to be ready
- Jobqueues:doToAll now passes the queues multi interface as the first and currently only argument
- No longer need to use jobqueue.OnReady() The code is smarter and will send the pushed jobs automatically when the threads are ready
Fixed: SystemThreadedConnection
- They work the exact same way as before, but actually work as expected now. The issue before was how i implemented it. Now each connection knows the number of instances of that object that ecist. This way I no longer have to do fancy timings that may or may not work. I can send exactly enough info for each connection to consume from the queue.
Removed: multi:newQueuer
- This feature has no real use after corutine based threads were introduced. You can use those to get the same effect as the queuer and do it better too.
Going forward:
diff --git a/changes.md b/changes.md
index c687a88..1ed4365 100644
--- a/changes.md
+++ b/changes.md
@@ -1,5 +1,10 @@
#Changes
[TOC]
+Update 12.2.2 Time for some more bug fixes!
+-------------
+Fixed: multi.Stop() not actually stopping due to the new pirority management scheme and preformance boost changes.
+Thats all for this update
+
Update 12.2.1 Time for some bug fixes!
-------------
Fixed: SystemThreadedJobQueues
diff --git a/multi/init.lua b/multi/init.lua
index 4755312..b75d144 100644
--- a/multi/init.lua
+++ b/multi/init.lua
@@ -24,8 +24,8 @@ SOFTWARE.
local bin = pcall(require,"bin")
local multi = {}
local clock = os.clock
-multi.Version = "12.2.1"
-multi._VERSION = "12.2.1"
+multi.Version = "12.2.2"
+multi._VERSION = "12.2.2"
multi.stage = "stable"
multi.__index = multi
multi.Mainloop = {}