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...")
 
 
(2 intermediate revisions by one other 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 ===
 
'''table''': (table) the table to share<br/>
 
'''table''': (table) the table to share<br/>
 +
 +
=== See also ===
 +
'''[[Core.asyncThread]]'''
  
 
{{Table}}
 
{{Table}}

Latest revision as of 03:19, 11 November 2024

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

See also

Core.asyncThread