Deutsch   English   Français   Italiano  
<v73u56$22gc$1@gal.iecc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: Continuations
Date: Mon, 15 Jul 2024 19:43:34 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <v73u56$22gc$1@gal.iecc.com>
References: <v6tbki$3g9rg$1@dont-email.me> <lfims1Fl57mU1@mid.individual.net> <v71jfh$jko$1@gal.iecc.com> <pFdlO.42948$BYv6.40771@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 Jul 2024 19:43:34 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="68108"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <v6tbki$3g9rg$1@dont-email.me> <lfims1Fl57mU1@mid.individual.net> <v71jfh$jko$1@gal.iecc.com> <pFdlO.42948$BYv6.40771@fx09.iad>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Bytes: 1727
Lines: 15

According to EricP  <ThatWouldBeTelling@thevillage.com>:
>> Airline reservation and credit card systems still work this way, and
>> have amazing transaction rates, like 1000 updates/sec to an individual
>> database record.
>
>In a classic state machine there is a loop around a CASE statement
>based on the current state number. The last thing each state case
>does is assign the next state number to jump to.

Right.  This is what we'd now call an event loop, with code
dispatched in response to external events like I/O completion.

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly