Nasal library: Difference between revisions

Jump to navigation Jump to search
m (→‎Extension functions: https://forum.flightgear.org/viewtopic.php?f=4&t=25747&p=286513#p286512)
Line 759: Line 759:
== Extension modules ==
== Extension modules ==
=== thread ===
=== thread ===
* newthread
{{Nasal doc
|syntax = thread.newthread();
|source = {{simgear file|nasal/threadlib.c|l=101|t=Source}}
|text =
|example1text = start a new worker thread
|example1 = abort();
}}
 
== Extension functions ==
== Extension functions ==
The '''extension functions''' are global functions that have been added to Nasal since its integration into FlightGear. Unlike the core library functions, they are generally specifically designed to interact directly with FlightGear. Extension functions come from three source files:
The '''extension functions''' are global functions that have been added to Nasal since its integration into FlightGear. Unlike the core library functions, they are generally specifically designed to interact directly with FlightGear. Extension functions come from three source files:

Navigation menu