A Windows 10 WTF

Peter Reid preid at reidit.co.uk
Tue Dec 24 05:50:32 EST 2019

Hi Tom

I'm not sure about Windows 10 behaviour but I had a similar problem with Windows 7. It seemed that my LC app was not releasing the processor long enough to handle basic user I/O. The solution was to add the following to all my tight loops:

	wait 0 milliseconds with messages

The 'with messages' is the key element, this made the LC app hand back control to Windows to handle other system activities. I add this line to all my loops when running under Windows. Give this a try and let me know whether this helps.

Peter Reid
Loughborough, UK

> On 23 Dec 2019, at 5:00pm, use-livecode-request at lists.runrev.com wrote:
> Date: Mon, 23 Dec 2019 10:42:31 -0500
> From: Tom Glod <tom at makeshyft.com <mailto:tom at makeshyft.com>>
> To: How to use LiveCode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>
> Subject: a windows 10 wtf
> Message-ID:
> 	<CAPzQJL+5Oej4SteQR702aW2LYx-qtH25oc8phkn_sMm94jf3hA at mail.gmail.com <mailto:CAPzQJL+5Oej4SteQR702aW2LYx-qtH25oc8phkn_sMm94jf3hA at mail.gmail.com>>
> Content-Type: text/plain; charset="UTF-8"
> Hi Peeeps,
> So I have a standalone running 24/7 that was built with LiveCode.
> When I use Livecode the IDE to work on the application (that I am also
> running as a standalone), and the IDE locks up for whatever reason...being
> busy or whatever..... my standalone application also locks up (window
> become unresponsive).  As soon as the IDE is responsive again, so is my
> standalone window.
> I have a 4 core machine...and nothing else seems to be locking up.... just
> the IDE and the standalone.
> Why is the OS insisting on the 2 processes sharing a core?
> Has anyone come across this before?
> Happy Holidays and Merry Christmas to all those who celebrate it.
> -- 
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com <http://www.makeshyft.com/>)
> Office:226-706-9339
> Mobile:226-706-9793

More information about the use-livecode mailing list