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>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:33, 13 July 2023

Available since: Gideros 2022.9
Class: table

Description

Makes a table thread safe, that is useable concurrently by several threads.

table.share(table)

Parameters

table: (table) the table to share