Re: Re: threaded question
"Piotr Borys" <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
> You should use threads any time some bang takes noticeable time to run.
> Examples would be xModule animations or modules that download stuff like
> wazup.
Exactly. Like, for example updating weather info - it shouldn't freeze
LS. The problem is with accessing common memory areas, it's easy to
make an access violation, though - like starting updating this weather
stuff and immediately displaying a popup - and if in the middle of
this displaying routine it will want to update labels, we have a
crash... So, some sort of threading mechanism and inter-process
communication in LS is needed - and I don't know, how it is done,
never checked its sources.
cheers
--
Piotr "utak3r" Borys
http://utak3r.pl
---------------------------------------------------------------------
Can't Unsubscribe? Check http://desktopian.org/listunsub.html
LS List Homepage: http://wuzzle.org/list/litestep.php
Get the LS FAQ: http://lsfaq.shellfront.org