🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #770

Re: Interrupts

#770
From: news
Date: Wed, 01 May 1991 22:11
36 lines
2260 bytes
I1120218@DBSTU1.BITNET (Martin Ahlborn) writes:

>I have written a module 'DA' that shows where users are logged in.
>But since it uses IUCVTRAP MODULE to get incoming messages (from PVM),
>it doesn't work together with the famous program CHAT because
>CHAT also traps messages himself. When I call DA in the CHAT-environment,
>simply nothing happens as if the program were waiting for something.
>No CPU time passes.

>What must my module switch off or so to be compatible with CHAT?
>I think it has to do with HNDINT or CMSIUCV.
>Perhaps it is not very difficult to trap messages myself without
>IUCVTRAP MODULE ?

This is a typical problem derived from CMS's roots back in the "one person
could only do one thing from beginning to end at a time" world way back when.

CMS provide some rudimentary distribution of interrupts, but only to a limited
extent.

You can trap messages yourself, and if done carefully, you can also do so
AND restore them to CHAT.  But if a message for CHAT comes in during the
window.... well... oops.

We need a message distributor.  It would take control of all incoming messages
and distribute them out to various programs based on the source of the message.
Then CHAT can get all its messages and DA can get all its messages, even if
they arrive interleaved.

My TIE (Tasks-Interrupts-Events) package will eventually have a handler for
this sort of thing as a separate module.
--
 /***************************************************************************\
/ Phil Howard -- KA9WGN -- phil@ux1.cso.uiuc.edu   |  Guns don't aim guns at  \
\ Lietuva laisva -- Brivu Latviju -- Eesti vabaks  |  people; CRIMINALS do!!  /
 \***************************************************************************/
Technical Details
Message-ID: <9105020437.AA00955@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!ucf1vm.BITNET!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!ucf1vm.BITNET!news
From: news@ucf1vm.BITNET
Newsgroups: comp.lang.asm370
Subject: Re: Interrupts
Message-ID: <9105020437.AA00955@ucbvax.Berkeley.EDU>
Date: 1 May 91 22:11:25 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
              <ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 36