[OpenLayers-Users] threading/synchronicity in javascript

Erik Uzureau euzuro at gmail.com
Sat Nov 1 03:39:38 EDT 2008


Dear OpenLayers users & dev,

Pardon the non-geo post, but I am wondering if anyone out there has come up
across issues with
synchronicity in javascript?

After pouring over this stuff for several hours, I think I am pretty
resolved to just say "ok, javascript
is event-driven and not truly multithreaded, so there is no need to worry".

In the off-chance that someone out there might have information otherwise,
please let me know.

Below are two of the links that have fed my brain for the last few hours:

debate:
http://stackoverflow.com/questions/124764/are-mutexes-needed-in-javascript

implementation of a mutex in js:
http://www.developer.com/lang/jscript/article.php/3592016
(note that his actual code for this *only* runs in ie, which obviously docks
it a fair amount of credit)

cheers,
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081101/cbb5326c/attachment.html


More information about the Users mailing list