YEngine

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Preemptive Multitasking)
(Preemptive Multitasking)
Line 8: Line 8:
  
 
= Preemptive Multitasking =
 
= Preemptive Multitasking =
YEngine executes scripts using preemptive multitasking.<br>
+
YEngine executes script events using preemptive multitasking.<br>
 
This means that, at certain control points, a script may release execution, waiting in a queue until it is its turn to execute again.<br>
 
This means that, at certain control points, a script may release execution, waiting in a queue until it is its turn to execute again.<br>
 +
Current criteria to release execution is been running for 60ms at first time, or 30ms on continuations, been order to sleep, etc
 
This alone solves one of XEngine worse problems: llSleep(). llSleep just places the script on a wait queue, until the sleep time expires, using no other execution resources
 
This alone solves one of XEngine worse problems: llSleep(). llSleep just places the script on a wait queue, until the sleep time expires, using no other execution resources

Revision as of 13:48, 19 September 2020

Summary

This is a fully functional alternative to XEngine.

  • Preemptive Multitasking
  • Improved script syntax
  • New options

Preemptive Multitasking

YEngine executes script events using preemptive multitasking.
This means that, at certain control points, a script may release execution, waiting in a queue until it is its turn to execute again.
Current criteria to release execution is been running for 60ms at first time, or 30ms on continuations, been order to sleep, etc This alone solves one of XEngine worse problems: llSleep(). llSleep just places the script on a wait queue, until the sleep time expires, using no other execution resources

Personal tools
General
About This Wiki