-- Will destroy everything "yourModFormStorage" contains
JDB.setObj("yourModFormStorage", 0)
This has me curious, If there are child objects are they locked as well when the parent is accessed? or is it a shallow lock?
--
You received this message because you are subscribed to the Google Groups "jcontainers-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jcontainers-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jcontainers-users/a3b2284a-2adc-40bf-ba83-3b9b6a89880d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is interesting. So if I have multiple threads accessing different parts of a JArray of forms all at the same time, then the overall execution speed is bottlenecked by each thread needing to wait until the JArray is no longer being accessed by another thread?
I'll need to test this to see if this causing the limited benefit I see from multithreading the processing of the player's inventory (which has been dumped into a JArray). I might get a speed up from splitting the JArray into as many parts as there are threads (on the other hand, it could be all those numerous other functions being called on the forms that could be causing the bottleneck).
I'll need to test this to see if this causing the limited benefit I see from multithreading the processing of the player's inventory (which has been dumped into a JArray). I might get a speed up from splitting the JArray into as many parts as there are threads (on the other hand, it could be all those numerous other functions being called on the forms that could be causing the bottleneck).