Login ProductsSalesSupportDownloadsAbout |
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 |
Matthew Jones | Am I right in thinking that Javascript applications are single
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 simple code.) If it is possible, what is the "critical section" equivalent? -- Matthew Jones |
Mon, Jul 11 2016 8:26 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | |
Wed, Jul 13 2016 9:07 PM | Permanent Link |
erickengelke | 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. Erick |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |