Singleton: Difference between revisions

no edit summary
m (→‎{{header|Sidef}}: minor code simplification)
No edit summary
Line 946:
Lasso supports singletons on two levels.
 
===Server wide singleton===
 
<lang Lasso>// Define the thread if it doesn't exist
Line 966:
#a->switch // b</lang>
 
===Thread level singleton===
 
<lang Lasso>// Define thread level singleton
Anonymous user