|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|Single threaded yes?|
|Mon, Jul 11 2016 4:58 AM||Permanent Link|
threaded? So I don't have to worry about adding something to a list
while at the same time processing the list? That is, if I get a cound
of the items and do a for loop on them, nothing can jump in
unexpectedly and add another item or remove one or something. (Perhaps
if I async something then that might cause issues, but I'm assuming
If it is possible, what is the "critical section" equivalent?
|Mon, Jul 11 2016 8:26 AM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
Yep, single-threaded, all the way.
|Wed, Jul 13 2016 9:07 PM||Permanent Link|
Tim Young [Elevate Software] wrote:
>Yep, single-threaded, all the way.
If you are interested, it's possible to do multithreaded with EWB using Web Workers. The way it works you do not have to worry about concurrency because there is no sharing of objects, just message passing.
But unless you've gone to the trouble of including Web Workers, there is no worry about concurrency.