View Full Version : Threading

12-19-2003, 06:39 PM
Where can I get info on how theads work within JavaScript? My bacis question is this: If I have a button which calls a function when clicked, should that function be thread safe? If a user could click the button fast enough, would there be a problem if the function was accessing a JavaScript variable outside the function?


Roy Sinclair
12-19-2003, 06:56 PM
A user cannot click a button faster than the script which handles the button will process since the button won't be re-enabled for a second click until the script has finished processing.

12-19-2003, 06:58 PM
Dated but still reasonably accurate....


12-19-2003, 07:37 PM

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum