updates the readme files and changed version to 12.2.2
This commit is contained in:
parent
c382eb46dc
commit
358779c793
@ -0,0 +1 @@
|
|||||||
|
Im going to write it I promise I will
|
||||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
|||||||
# multi Version: 12.2.1 Some bug fixes
|
# multi Version: 12.2.2 Some more bug fixes
|
||||||
|
|
||||||
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**</br>
|
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**</br>
|
||||||
|
|
||||||
@ -27,19 +27,16 @@ Discord
|
|||||||
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.</br>
|
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.</br>
|
||||||
https://discord.gg/U8UspuA</br>
|
https://discord.gg/U8UspuA</br>
|
||||||
|
|
||||||
**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.
|
|
||||||
|
|
||||||
Planned features/TODO
|
Planned features/TODO
|
||||||
---------------------
|
---------------------
|
||||||
- [ ] Make practical examples that show how you can solve real problems
|
- [ ] 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!
|
- [ ] 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
|
- [ ] Test for unknown bugs -- This is always going on
|
||||||
- [x] ~~Network Parallelism~~
|
- [x] ~~Network Parallelism~~ This was fun, I have some more plans for this as well
|
||||||
|
|
||||||
Known Bugs/Issues
|
Known Bugs/Issues
|
||||||
-----------------
|
-----------------
|
||||||
|
~~A bug concerns the SystemThreadedJobQueue, only 1 can be used for now. Might change in a future update~~ :D Fixed
|
||||||
A bug concerns the SystemThreadedJobQueue, only 1 can be used for now. Might change in a future update
|
|
||||||
|
|
||||||
Usage:</br>
|
Usage:</br>
|
||||||
-----
|
-----
|
||||||
|
|||||||
63
changes.html
63
changes.html
@ -12,199 +12,206 @@
|
|||||||
<h1 id="changes"><a name="changes" href="#changes"></a>Changes</h1><p class="toc" style="undefined"></p><ul>
|
<h1 id="changes"><a name="changes" href="#changes"></a>Changes</h1><p class="toc" style="undefined"></p><ul>
|
||||||
<li><ul>
|
<li><ul>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update-12.2.1-time-for-some-bug-fixes!" title="Update 12.2.1 Time for some bug fixes! ">Update 12.2.1 Time for some bug fixes! </a>
|
<a href="#update-12.2.2-time-for-some-more-bug-fixes!" title="Update 12.2.2 Time for some more bug fixes! ">Update 12.2.2 Time for some more bug fixes! </a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
0
|
0
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update-12.2.0" title="Update 12.2.0">Update 12.2.0</a>
|
<a href="#update-12.2.1-time-for-some-bug-fixes!" title="Update 12.2.1 Time for some bug fixes! ">Update 12.2.1 Time for some bug fixes! </a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
1
|
1
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update-12.1.0" title="Update 12.1.0">Update 12.1.0</a>
|
<a href="#update-12.2.0" title="Update 12.2.0">Update 12.2.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
2
|
2
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-12.0.0-big-update-(lots-of-additions-some-changes)" title="Update: 12.0.0 Big update (Lots of additions some changes)">Update: 12.0.0 Big update (Lots of additions some changes)</a>
|
<a href="#update-12.1.0" title="Update 12.1.0">Update 12.1.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
3
|
3
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.11.1" title="Update: 1.11.1">Update: 1.11.1</a>
|
<a href="#update:-12.0.0-big-update-(lots-of-additions-some-changes)" title="Update: 12.0.0 Big update (Lots of additions some changes)">Update: 12.0.0 Big update (Lots of additions some changes)</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
4
|
4
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.11.0" title="Update: 1.11.0">Update: 1.11.0</a>
|
<a href="#update:-1.11.1" title="Update: 1.11.1">Update: 1.11.1</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
5
|
5
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.10.0" title="Update: 1.10.0">Update: 1.10.0</a>
|
<a href="#update:-1.11.0" title="Update: 1.11.0">Update: 1.11.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
6
|
6
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.9.2" title="Update: 1.9.2">Update: 1.9.2</a>
|
<a href="#update:-1.10.0" title="Update: 1.10.0">Update: 1.10.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
7
|
7
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.9.1" title="Update: 1.9.1">Update: 1.9.1</a>
|
<a href="#update:-1.9.2" title="Update: 1.9.2">Update: 1.9.2</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
8
|
8
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.9.0" title="Update: 1.9.0">Update: 1.9.0</a>
|
<a href="#update:-1.9.1" title="Update: 1.9.1">Update: 1.9.1</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
9
|
9
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.7" title="Update: 1.8.7">Update: 1.8.7</a>
|
<a href="#update:-1.9.0" title="Update: 1.9.0">Update: 1.9.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
10
|
10
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.6" title="Update: 1.8.6">Update: 1.8.6</a>
|
<a href="#update:-1.8.7" title="Update: 1.8.7">Update: 1.8.7</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
11
|
11
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.5" title="Update: 1.8.5">Update: 1.8.5</a>
|
<a href="#update:-1.8.6" title="Update: 1.8.6">Update: 1.8.6</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
12
|
12
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.4" title="Update: 1.8.4">Update: 1.8.4</a>
|
<a href="#update:-1.8.5" title="Update: 1.8.5">Update: 1.8.5</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
13
|
13
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.3" title="Update: 1.8.3">Update: 1.8.3</a>
|
<a href="#update:-1.8.4" title="Update: 1.8.4">Update: 1.8.4</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
14
|
14
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.2" title="Update: 1.8.2">Update: 1.8.2</a>
|
<a href="#update:-1.8.3" title="Update: 1.8.3">Update: 1.8.3</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
15
|
15
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.8.1" title="Update: 1.8.1">Update: 1.8.1</a>
|
<a href="#update:-1.8.2" title="Update: 1.8.2">Update: 1.8.2</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
16
|
16
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.6" title="Update: 1.7.6">Update: 1.7.6</a>
|
<a href="#update:-1.8.1" title="Update: 1.8.1">Update: 1.8.1</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
17
|
17
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.5" title="Update: 1.7.5">Update: 1.7.5</a>
|
<a href="#update:-1.7.6" title="Update: 1.7.6">Update: 1.7.6</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
18
|
18
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.4" title="Update: 1.7.4">Update: 1.7.4</a>
|
<a href="#update:-1.7.5" title="Update: 1.7.5">Update: 1.7.5</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
19
|
19
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.3" title="Update: 1.7.3">Update: 1.7.3</a>
|
<a href="#update:-1.7.4" title="Update: 1.7.4">Update: 1.7.4</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
20
|
20
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.2" title="Update: 1.7.2">Update: 1.7.2</a>
|
<a href="#update:-1.7.3" title="Update: 1.7.3">Update: 1.7.3</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
21
|
21
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.1-bug-fixes-only" title="Update: 1.7.1 Bug Fixes Only">Update: 1.7.1 Bug Fixes Only</a>
|
<a href="#update:-1.7.2" title="Update: 1.7.2">Update: 1.7.2</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
22
|
22
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.7.0" title="Update: 1.7.0">Update: 1.7.0</a>
|
<a href="#update:-1.7.1-bug-fixes-only" title="Update: 1.7.1 Bug Fixes Only">Update: 1.7.1 Bug Fixes Only</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
23
|
23
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.6.0" title="Update: 1.6.0">Update: 1.6.0</a>
|
<a href="#update:-1.7.0" title="Update: 1.7.0">Update: 1.7.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
24
|
24
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.5.0" title="Update: 1.5.0">Update: 1.5.0</a>
|
<a href="#update:-1.6.0" title="Update: 1.6.0">Update: 1.6.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
25
|
25
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
<li><span class="title">
|
<li><span class="title">
|
||||||
<a href="#update:-1.4.1---first-public-release-of-the-library" title="Update: 1.4.1 - First Public release of the library">Update: 1.4.1 - First Public release of the library</a>
|
<a href="#update:-1.5.0" title="Update: 1.5.0">Update: 1.5.0</a>
|
||||||
</span>
|
</span>
|
||||||
<!--span class="number">
|
<!--span class="number">
|
||||||
26
|
26
|
||||||
</span-->
|
</span-->
|
||||||
</li>
|
</li>
|
||||||
|
<li><span class="title">
|
||||||
|
<a href="#update:-1.4.1---first-public-release-of-the-library" title="Update: 1.4.1 - First Public release of the library">Update: 1.4.1 - First Public release of the library</a>
|
||||||
|
</span>
|
||||||
|
<!--span class="number">
|
||||||
|
27
|
||||||
|
</span-->
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p></p><h2 id="update-12.2.1-time-for-some-bug-fixes!"><a name="update-12.2.1-time-for-some-bug-fixes!" href="#update-12.2.1-time-for-some-bug-fixes!"></a>Update 12.2.1 Time for some bug fixes! </h2><p>Fixed: SystemThreadedJobQueues</p><ul>
|
<p></p><h2 id="update-12.2.2-time-for-some-more-bug-fixes!"><a name="update-12.2.2-time-for-some-more-bug-fixes!" href="#update-12.2.2-time-for-some-more-bug-fixes!"></a>Update 12.2.2 Time for some more bug fixes! </h2><p>Fixed: multi.Stop() not actually stopping due to the new pirority management scheme and preformance boost changes.<br>Thats all for this update</p><h2 id="update-12.2.1-time-for-some-bug-fixes!"><a name="update-12.2.1-time-for-some-bug-fixes!" href="#update-12.2.1-time-for-some-bug-fixes!"></a>Update 12.2.1 Time for some bug fixes! </h2><p>Fixed: SystemThreadedJobQueues</p><ul>
|
||||||
<li>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!</li><li>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</li><li>Jobqueues:doToAll now passes the queues multi interface as the first and currently only argument</li><li>No longer need to use jobqueue.OnReady() The code is smarter and will send the pushed jobs automatically when the threads are ready</li></ul><p>Fixed: SystemThreadedConnection</p><ul>
|
<li>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!</li><li>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</li><li>Jobqueues:doToAll now passes the queues multi interface as the first and currently only argument</li><li>No longer need to use jobqueue.OnReady() The code is smarter and will send the pushed jobs automatically when the threads are ready</li></ul><p>Fixed: SystemThreadedConnection</p><ul>
|
||||||
<li>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.</li></ul><p>Removed: multi:newQueuer</p><ul>
|
<li>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.</li></ul><p>Removed: multi:newQueuer</p><ul>
|
||||||
<li>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. </li></ul><p>Going forward:</p><ul>
|
<li>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. </li></ul><p>Going forward:</p><ul>
|
||||||
|
|||||||
@ -1,5 +1,10 @@
|
|||||||
#Changes
|
#Changes
|
||||||
[TOC]
|
[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!
|
Update 12.2.1 Time for some bug fixes!
|
||||||
-------------
|
-------------
|
||||||
Fixed: SystemThreadedJobQueues
|
Fixed: SystemThreadedJobQueues
|
||||||
|
|||||||
@ -24,8 +24,8 @@ SOFTWARE.
|
|||||||
local bin = pcall(require,"bin")
|
local bin = pcall(require,"bin")
|
||||||
local multi = {}
|
local multi = {}
|
||||||
local clock = os.clock
|
local clock = os.clock
|
||||||
multi.Version = "12.2.1"
|
multi.Version = "12.2.2"
|
||||||
multi._VERSION = "12.2.1"
|
multi._VERSION = "12.2.2"
|
||||||
multi.stage = "stable"
|
multi.stage = "stable"
|
||||||
multi.__index = multi
|
multi.__index = multi
|
||||||
multi.Mainloop = {}
|
multi.Mainloop = {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user