Difference between revisions of "Table.share"

From GiderosMobile
(Created page with "'''Available since:''' Gideros 2022.9<br/> '''Class:''' table<br/> === Description === Makes a table thread safe, that is useable concurrently by several threads. <source...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Makes a table thread safe, that is useable concurrently by several threads.
 
Makes a table thread safe, that is useable concurrently by several threads.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
table.share(table)
 
table.share(table)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

Available since: Gideros 2022.9
Class: table

Description

Makes a table thread safe, that is useable concurrently by several threads. <syntaxhighlight lang="lua"> table.share(table) </source>

Parameters

table: (table) the table to share