YEngine, change default number of exec threads to 2 of priority Normal. Let the threads priority a option on ini files

This commit is contained in:
UbitUmarov
2019-11-22 07:01:17 +00:00
parent d5f918f945
commit 943d0935a6
4 changed files with 57 additions and 13 deletions

View File

@@ -933,17 +933,12 @@
; PriceGroupCreate = 0
[YEngine]
;; experimental engine
;; implements non preemptive microthreading, so fixing problems like llSleep or long events handlers
;; but those will suffer from timeslicing, so will be slower.
;; warning: scripts state is lost on TP or cross to Xengine regions (cars stop, etc)
;; ignore its extensions (subset of original XMRengine), those are still undefined.
Enabled = false
ScriptStackSize = 256
ScriptHeapSize = 256
UseSourceHashCode = true
MinTimerInterval = 0.1
;ScriptBasePath="ScriptEngines"
; Enabled = false
[XEngine]
;# {Enabled} {} {Enable the XEngine scripting engine?} {true false} true