Subj : Re: ANSI music / sound effects To : tracker1 From : Digital Man Date : Sat Nov 28 2015 09:21 pm Re: Re: ANSI music / sound effects By: tracker1 to Nightfox on Sat Nov 28 2015 06:01 pm > >>> But it does seem like the game hangs a bit until the (three-note) > >>> music is f > > > De> Multi-threading? > > > I don't think JavaScript supports multi-threading - At least, not unless > > someone has a library that can be called from JavaScript that supports > > multi-threading. > > The JS in SBBS is definitely linear execution... short of implementing an > event- > loop with callback system, similar to node.js, I don't know it's going to > improve. Also, it may be a limitation of how ansi-music works on the > client. -- Synchronet does support multi-threaded JavaScript (background load'ed scripts with inter-thread communication via message queue) and has for many years. digital man Synchronet "Real Fact" #75: Michael Swindell still has the "Synchronet Blimp" in his possession. Norco, CA WX: 52.1øF, 30.0% humidity, 4 mph W wind, 0.00 inches rain/24hrs .