commandine standalone using 100% of core on doing what?
Tom Glod
tom at makeshyft.com
Thu Apr 5 11:57:42 EDT 2018
hi richard... the standalone opens fine when i don't use the -UI
parameter..... it opens up the blank stack and does nothing....as its
supposed to since there is no code anywhere doing anything. no library was
modified...or even used.
its a blank stack.
the -ui flag puts it into the loop. I guess I don't have to use it.
but still wondering what its doing.
On Thu, Apr 5, 2018 at 11:46 AM, Richard Gaskin via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Tom Glod wrote:
>
> > Hi folks, I wanted to benchmark the httpd library and decided to
> > create a command line server application.
> >
> > I run it using "-ui" command ...
> >
> > and I use the "on Startup" message to print out a welcome message"
> >
> > thats all I have so far.
> >
> > But my executable process is using up 100% of the core .....
> > continuously.
> >
> > what is it doing ? what am I doing wrong?
> >
> > v9 .0 on windows 7.
>
> I don't know what that library is doing, but I use standalones in nearly
> every server system I make so I know it's not the standalone itself eating
> up CPU.
>
> If the lib hasn't been altered, you should see the same behavior no matter
> where it's running, even on the desktop. If you don't perhaps something
> else is in play
>
> You may try running the standalone with strace to see the system calls
> it's making:
>
> strace ./mystandalone
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list