Re: [BLACKBOX] Long running command and Dialog.ShowStatus

From: [at]} <Bob>
Date: Fri, 4 Dec 2009 20:05:52 -0000

----boundary-LibPST-iamunique-1859653540_-_-
Content-type: text/plain

Where is the reference to Dijkstra's loop?

You might find the answer in this article, wherein N Wirth describe the
WHILE construct in Oberon-07
http://www.inf.ethz.ch/personal/wirth/Articles/Oberon/Oberon07.pdf

Bob

> Robert
>
>
> PS - What is "Dijkstra's loop"; even Google doesn't seem to know?
>
>
> >> >-----Original Message-----
> >> >From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Behalf Of Robert
> >> >Sent: Friday, 4 December 2009 9:04 AM
> >> >
> >> >Surely these problems (apparent hanging of BlackBox, and the fact
> >> >that Ctrl-Break does not work as advertised) can and should be
> >> >solved at a lower level than imposing lots of awkward logic into
> >> >every application?
> >> >
> >>
> >> I suspect not as these problems are *application-specific*
> and under
> >> the control of the application programmer. If you develop a
> >> single-threaded Windows application it can only respond to user
> >> interaction while it is 'idle' and not involved in any other
> >> processing. A relevant article "Using Messages and Message
> Queues" is
> >> at:
> >>
> >> http://msdn.microsoft.com/en-us/library/ms644928(VS.85).aspx
> >>
> >> Note the comment added to the end:
> >>
> >> "Lengthy operations should always be done in a separate thread ...
> >> PeekMessage shouldn't be needed in modern, well-written
> >> applications."
> >>
> >> Regards,
> >> Chris
> >>
> >> --
> >> Chris Burrows
> >> CFB Software
> >> Armaide: ARM Oberon-07 Development System
> >> http://www.cfbsoftware.com/armaide
> SELEX Sensors and Airborne Systems Limited Registered Office:
> Sigma House, Christopher Martin Road, Basildon, Essex SS14
> 3EL A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the
> intended recipient and may also be privileged. If you are not
> the intended recipient please delete it from your system and
> notify the sender.
> You should not copy it or use it for any purpose nor disclose
> or distribute its contents to any other person.
> ********************************************************************
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX"
> to LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1859653540_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFdoZXJlIGlzIHRoZSByZWZlcmVuY2UgdG8gRGlq
a3N0cmEncyBsb29wP1xwYXINClxwYXINCllvdSBtaWdodCBmaW5kIHRoZSBhbnN3ZXIgaW4gdGhp
cyBhcnRpY2xlLCB3aGVyZWluIE4gV2lydGggZGVzY3JpYmUgdGhlXHBhcg0KV0hJTEUgY29uc3Ry
dWN0IGluIE9iZXJvbi0wN1xwYXINCmh0dHA6Ly93d3cuaW5mLmV0aHouY2gvcGVyc29uYWwvd2ly
dGgvQXJ0aWNsZXMvT2Jlcm9uL09iZXJvbjA3LnBkZlxwYXINClxwYXINCkJvYlxwYXINClxwYXIN
Cj4gUm9iZXJ0XHBhcg0KPiBccGFyDQo+IFxwYXINCj4gUFMgLSBXaGF0IGlzICJEaWprc3RyYSdz
IGxvb3AiOyBldmVuIEdvb2dsZSBkb2Vzbid0IHNlZW0gdG8ga25vdz9ccGFyDQo+IFxwYXINCj4g
XHBhcg0KPiA+PiA+LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS1ccGFyDQo+ID4+ID5Gcm9tOiBC
bGFja0JveCBbbWFp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ioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxwYXINCj4gVGhp
cyBlbWFpbCBhbmQgYW55IGF0dGFjaG1lbnRzIGFyZSBjb25maWRlbnRpYWwgdG8gdGhlIFxwYXIN
Cj4gaW50ZW5kZWQgcmVjaXBpZW50IGFuZCBtYXkgYWxzbyBiZSBwcml2aWxlZ2VkLiBJZiB5b3Ug
YXJlIG5vdCBccGFyDQo+IHRoZSBpbnRlbmRlZCByZWNpcGllbnQgcGxlYXNlIGRlbGV0ZSBpdCBm
cm9tIHlvdXIgc3lzdGVtIGFuZCBccGFyDQo+IG5vdGlmeSB0aGUgc2VuZGVyLlxwYXINCj4gWW91
IHNob3VsZCBub3QgY29weSBpdCBvciB1c2UgaXQgZm9yIGFueSBwdXJwb3NlIG5vciBkaXNjbG9z
ZSBccGFyDQo+IG9yIGRpc3RyaWJ1dGUgaXRzIGNvbnRlbnRzIHRvIGFueSBvdGhlciBwZXJzb24u
XHBhcg0KPiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKlxwYXINCj4gXHBhcg0KPiBccGFyDQo+IC0tLS1ccGFyDQo+IFRv
IHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1gi
IFxwYXINCj4gdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXHBhcg0KXHBhcg0KXHBhcg0KLS0t
LVxwYXINClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYg
QkxBQ0tCT1giIHRvIExJU1RTRVJWQExJU1RTfX0AOiA8bWFpbHRvOkJMQUM=
----boundary-LibPST-iamunique-1859653540_-_---
Received on Fri Dec 04 2009 - 21:05:52 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:39 UTC