LsSlider causes a complete holdup Thread last updated on 2003-11-04 00:35:30

Posted by member 71746 on 2003-11-03 02:41:46

I'm trying to ipmlement a slider within an LsBox, but it's causing litestep to chew up hundreds of megs of ram and not even be able to complete the loading process (gak..)

I'm wondering if anyone knows of any good themes that have sliders to control the main system volume or the winamp volume...?

Or, if anyone knows why an issue like that would be caused with !SliderHook (though the issue is caused whether I hook a slider or not, it happens when NetLoadModule lsslider-1.71 is included, it doesn't happen when that line is commented out.)

Posted by member 7 on 2003-11-03 05:43:41 link

This sounds like a nasty bug. Please contact blkhawk with all details needed to reproduce the bug. If he's not too busy I'm pretty sure that he'll fix it.

Posted by member 71746 on 2003-11-03 12:54:53 link

Yea just wanted to make sure it wasn't something where I needed to add something like "threaded" or "load" after the *NetLoadModule command before dumping something else on a dev's plate :)

Posted by member 7 on 2003-11-03 15:15:26 link

There is currently no module that I'm aware of that requires to be run "threaded". Running a module "threaded" sometimes hides bugs though. Which still doesn't mean they shouldn't be fixed. :)

Posted by member 71746 on 2003-11-03 15:23:20 link

So what is the deal with running things "threaded" anyway? :) I've looked through the NLM docs and the litestep core docs and haven't found any description of what this does...

Posted by member 99 on 2003-11-03 20:56:22 link

It loads the module in a separate thread, so eg if a threaded module gets caught in a loop or some other lengthy operation, it won't freeze the rest of litestep.

It doesn't matter much during load with NLM though, because litestep waits for each module to finish loading before returning control to NLM for it to load the next.

Posted by member 71746 on 2003-11-03 21:16:55 link

ohh ok cool thanks :) that'd be well applied to lsmail which can sometimes get hung up waiting for tcp ack's

Posted by member 7223 on 2003-11-04 00:35:30 link

Is there some other advantages of running modules "threaded" ? (the .24.7 readme said "thread stuff" need to be tested)