Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1256

Re: Reporter quit problem

Subject Re: Reporter quit problem
Newsgroups comp.sys.acorn.programmer
From John Rickman Iyonix <rickman@argonet.co.uk>
Date 2012-01-02 21:43 +0000
Message-ID <dae06f4b52.iyojohn@rickman.argonet.co.uk> (permalink)
References <7c73494b52.iyojohn@rickman.argonet.co.uk> <524b4a03caUCEbin@tiscali.co.uk> <mpro.lx6tbs03knzjk01kg.news@stevefryatt.org.uk> <524b68ba76UCEbin@tiscali.co.uk> <mpro.lx6vdh0500mgw01kg.news@stevefryatt.org.uk>
Organization Orpheus Internet Services

Show all headers | View raw


In message <mpro.lx6vdh0500mgw01kg.news@stevefryatt.org.uk>
          Steve Fryatt <news@stevefryatt.org.uk> wrote:

> The requirement was (I quote):

>   "The problem happens when Reporter is running at the time that rotor is
>   started, but is subsequently quit."

Thanks Steve,

That is correct. I wanted rotor to continue if Reporter is stopped or 
crashes.

> Which either requires repeated enumerations on Null polls (extremely
> wasteful), or listening for Message_TaskCloseDown.  Once you're doing the
> latter, picking up Message_TaskInitialise is simple to implement and makes
> things more intuitive for the user.

I have implemented John William's solution and it works.
I was concerned about the CPU cost, but it only enumerates once every 
35 centiseconds in the Wimp_Poll_Idle loop, which shows as 0% in 
Martin Avison's TaskUsage program.

John

-- 
John Rickman Iyonix

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 14:43 +0000
  Re: Reporter quit problem "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-01-02 15:50 +0100
    Re: Reporter quit problem Steve Fryatt <news@stevefryatt.org.uk> - 2012-01-02 20:09 +0000
      Re: Reporter quit problem "John Williams (News)" <UCEbin@tiscali.co.uk> - 2012-01-02 21:25 +0100
        Re: Reporter quit problem Steve Fryatt <news@stevefryatt.org.uk> - 2012-01-02 20:53 +0000
          Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:43 +0000
            Re: Reporter quit problem Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-01-03 00:27 +0100
              Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-03 11:11 +0000
                Re: Reporter quit problem Steve Drain <steve@kappa.me.uk> - 2012-01-03 11:58 +0000
        Re: Reporter quit problem Alan Adams <alan@adamshome.org.uk> - 2012-01-02 21:15 +0000
          Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-02 23:25 +0000
  Re: Reporter quit problem Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-01-02 15:16 +0000
    Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:31 +0000
  Re: Reporter quit problem Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2012-01-02 18:22 +0000
    Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-02 21:33 +0000
      Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-02 23:29 +0000
        Re: Reporter quit problem John Rickman Iyonix <rickman@argonet.co.uk> - 2012-01-03 10:31 +0000
          Re: Reporter quit problem Martin <News03@avisoft.f9.co.uk> - 2012-01-03 11:29 +0000

csiph-web