× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I will now show my ignorance and then be quiet.

A message loop?  Like... a cycle? 
 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: Midrange Systems Technical Discussion
Date: 03/03/05 21:48:14
To: Midrange Systems Technical Discussion
Subject: Re: Hmmmm.....$1 Billion
 
On Thu, 03 Mar 2005 20:25:28 -0600, Vernon Hamberg <vhamberg@xxxxxxxxxxx>
wrote:
> We must be talking different things here - VB for the longest time did not
> have thread capability, yet was considered event-driven. So you must mean
> something different.
 
for event driven programming you need a message loop. Every windows
program has, at its heart, a message loop.  The Windows OS feeds
events like a keystroke, mouse move, a command to close the window to
the windows message queue.
 
on the 400 you dont have that default message loop.  If you want to
use an event model for your interactive job you need threads to
implement the whole thing.  The main thread would receive from the
message ( data ) queue, processing the events.   Other threads would
feed events like "the user has pressed the enter key", a socket
receive has returned some data,  a physical file trigger has fired
because a record has been added to a file.
 
All of this is just a big example because display data managment and,
I guess 5250,  does not handle change of direction very well. Once the
display is waiting for the enter key to be pressed, the device is not
available to have a new screen written to it.
 
Whether this is all true, I am not sure.  I am just using the topic as
an example of what could be done with threads and other improvements
to the system.
 
-Steve
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
 
 
.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.