🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #98

Re: I got the EventV Blues.

#98
From: burke
Date: Sun, 02 Aug 1992 18:39
19 lines
1817 bytes
In article <1992Aug1.150444.9705@cl.cam.ac.uk>, Brian.Brunswick@cl.cam.ac.uk (Brian Brunswick on ely.cl.cam.ac.uk) writes:
> Could it be that you are relying on the callbacks being sequenced?
> I'm not at all sure that they are... I remember using a test program
> with callafters and callbacks, but don't know which one of the two
> was mixing things up?

I've written a program which changes the function of the keypad; I was trying
to change the state of the NumLock LED with a CallBack, and discovered that a)
the keyboard handler also changes it the same way, and b) the two CallBacks
didn't always come in the same order - usually the keyboard handler got in
first, but not always. I then added a delay of 0.1 sec with CallAfter, and
everything seems OK.

e----><----p | Stephen Burke           | Internet: burke@vxdesy.desy.de
 H   H   1   | Gruppe FH1T (Liverpool) | DECnet:   vxdesy::burke (13313::burke)
 H   H  11   | DESY, Notkestrasse 85   | BITNET:   BURKE@DESYVAX or SB2@UKACRL
 HHHHH   1   | 2000 Hamburg 52         | JANET:    sb2@uk.ac.rl.ib
 H   H   1   | Germany                 | Phone:    + 49 40 8998 2282
 H   H 11111 | HERA, the world's biggest electron microscope!
Technical Details
Message-ID: <1992Aug2.183928.1@vxdesy.desy.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!dxcern!dscomsa.desy.de!vxdesy.desy.de!burke
References: <24A9nhj017n@khantazi.welly.gen.nz> <1992Aug1.150444.9705@cl.cam.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!dxcern!dscomsa.desy.de!vxdesy.desy.de!burke
From: burke@vxdesy.desy.de
Subject: Re: I got the EventV Blues.
Message-ID: <1992Aug2.183928.1@vxdesy.desy.de>
Lines: 19
Sender: news@dscomsf.desy.de (USENET News System)
Nntp-Posting-Host: vxdsyc.desy.de
Organization: (DESY, Hamburg, Germany)
References: <24A9nhj017n@khantazi.welly.gen.nz> <1992Aug1.150444.9705@cl.cam.ac.uk>
Date: Sun, 2 Aug 1992 18:39:28 GMT