Nasal library: Difference between revisions

Jump to navigation Jump to search
Line 764: Line 764:
|text =  
|text =  
|example1text = start a new worker thread
|example1text = start a new worker thread
|example1 = abort();
|example1 = thread.newthread( func() {} );
}}
 
{{Nasal doc
|syntax = thread.newlock(func);
|source = {{simgear file|simgear/nasal/threadlib.c|l=101|t=Source}}
|text =
|example1text = create a new lock
|example1 = var lock = thread.newlock()
}}
}}


Navigation menu