Working on 16.0.0 #53

Merged
rayaman merged 120 commits from v16.0.0 into master 2024-02-25 00:00:51 -05:00
4 changed files with 7 additions and 2 deletions
Showing only changes of commit 8e6d174f20 - Show all commits

View File

@ -1,7 +1,7 @@
# Changelog
Table of contents
---
[Update 16.0.0 - ?](#update-1600---?)</br>
[Update 16.0.0 - Connecting the dots](#update-1600---connecting-the-dots)</br>
[Update 15.3.1 - Bug fix](#update-1531---bug-fix)</br>
[Update 15.3.0 - A world of connections](#update-1530---a-world-of-connections)</br>
[Update 15.2.1 - Bug fix](#update-1521---bug-fix)</br>
@ -58,7 +58,7 @@ Table of contents
[Update: EventManager 1.0.0 - Error checking](#update-eventmanager-100---error-checking)</br>
[Version: EventManager 0.0.1 - In The Beginning things were very different](#version-eventmanager-001---in-the-beginning-things-were-very-different)
# Update 16.0.0 - ?
# Update 16.0.0 - Connecting the dots
Added
---
- Connection objects now support the % function. This supports a function % connection object. What it does is allow you to **mod**ify the incoming arguments of a connection event.

View File

@ -27,6 +27,7 @@ if not (GLOBAL and THREAD) then
else
lanes = require("lanes")
end
function multi:newSystemThreadedQueue(name)
local name = name or multi.randomString(16)
local c = {}

View File

@ -69,6 +69,7 @@ function multi:newSystemThreadedQueue(name)
THREAD.package(name,c)
return c
end
function multi:newSystemThreadedTable(name)
local name = name or multi.randomString(16)
local c = {}
@ -79,6 +80,7 @@ function multi:newSystemThreadedTable(name)
THREAD.package(name,c)
return c
end
local jqc = 1
function multi:newSystemThreadedJobQueue(n)
local c = {}

View File

@ -50,6 +50,7 @@ function multi:newSystemThreadedQueue(name)
GLOBAL[name or "_"] = c
return c
end
function multi:newSystemThreadedTable(name)
local c = {}
function c:init()
@ -68,6 +69,7 @@ if not setfenv then
end
end
end
function multi:newSystemThreadedJobQueue(n)
local c = {}
c.cores = n or THREAD.getCores()*2