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


Groups > comp.lang.forth > #52578

Re: I'm so conflicted...

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: I'm so conflicted...
Date 2016-11-12 23:23 -0500
Organization A noiseless patient Spider
Message-ID <o08pqi$dqj$3@dont-email.me> (permalink)
References (1 earlier) <8c9489fb-d534-4193-85c3-782aa1242fb6@googlegroups.com> <184fa626-e6d2-4d42-bc7e-ee33daeadb55@googlegroups.com> <61184b43-cfda-4863-a005-aca83e691954@googlegroups.com> <AJWdndJoT80BELrFnZ2dnUU7-cXNnZ2d@supernews.com> <9ec56433-8b65-48ae-8c64-bed9fdde93de@googlegroups.com>

Show all headers | View raw


On 11/12/2016 6:23 PM, Howerd wrote:
> On Saturday, 12 November 2016 22:46:10 UTC+1, Elizabeth D. Rather
> wrote:
>> On 11/12/16 10:35 AM, gmail.com wrote:
>>>
>>>> Could you enlighten me as to why you think "PAD is a bad
>>>> idea"? I am assuming a Forth system where PAD is an array of
>>>> USER variables...
>>>>
>>>> Best regards, Howerd
>>>
>>> I thought that PAD was the address of a scratch area used for
>>> temporary storage!
>>
>> Correct. According to Forth212, the word PAD returns the address of
>> "a transient region that can be used to hold data for intermediate
>> processing." In most multi-user systems, each user has one, so
>> there is no re-entrancy problem. Most multi-user systems *also*
>> have a "user area" where user variables (such as BASE, pointer
>> returned by HERE, etc.) reside, but it is not in or near PAD in my
>> experience.
>>
>> Cheers, Elizabeth
>>
>> -- ================================================== Elizabeth D.
>> Rather   (US & Canada)   800-55-FORTH FORTH Inc.
>> +1 310.999.6784 5959 West Century Blvd. Suite 700 Los Angeles, CA
>> 90045 http://www.forth.com
>>
>> "Forth-based products and Services for real-time applications since
>> 1973." ==================================================
>
> Hi Elizabeth,
>
> Yes, you are right : in a multi-user system like SwiftForth PAD is
> defined as an offset from  HERE  which is nowhere near the USER
> variables.
>
> In an embedded system ( e.g. polyForth, chipForth and SwiftX )  PAD
> is usually tacked onto the end of the USER variables.
>
> In either case each task has its own  PAD  area, so I am curious to
> know what sort of re-entrancy problems this can cause - I am not
> aware of any.
I'm unclear.  Does re-entrancy imply multi-user?  Multitasking can be 
used without multi-users, no?

-- 

Rick C

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-11 03:47 -0800
  I'm so conflicted... foxaudioresearch@gmail.com - 2016-11-11 04:37 -0800
  Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-11 05:29 -0800
    Re: I'm so conflicted... JUERGEN <epldfpga@aol.com> - 2016-11-11 05:33 -0800
    Re: I'm so conflicted... JUERGEN <epldfpga@aol.com> - 2016-11-11 05:35 -0800
    Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-11 20:02 -0500
      Re: I'm so conflicted... jim <anon@example.com> - 2016-11-12 10:59 +0000
        Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 11:21 -0500
          Re: I'm so conflicted... jim <anon@example.com> - 2016-11-12 21:30 +0000
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:18 -0500
              Re: I'm so conflicted... jim <anon@example.com> - 2016-11-13 12:28 +0000
                Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-13 10:50 -0800
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-13 19:14 +0000
                Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-13 23:11 -0500
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-14 09:44 +0000
        Re: I'm so conflicted... "Robert L." <No_spamming@noWhere_7073.org> - 2016-11-20 01:51 +0000
      Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 10:32 -0800
        Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 13:52 -0500
          Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 11:55 -0800
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:19 -0500
              Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 18:16 -0800
                Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-13 23:14 -0500
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-14 09:51 +0000
                Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-14 04:04 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-15 03:11 -0800
                Re: I'm so conflicted... "Robert L." <No_spamming@noWhere_7073.org> - 2016-11-20 23:50 +0000
        Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-12 20:11 +0100
  Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-12 00:34 +1100
  Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-11 16:19 -0800
    Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 10:34 -0800
      Re: I'm so conflicted... november.nihal@gmail.com - 2016-11-12 12:35 -0800
        Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 11:46 -1000
          Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 15:23 -0800
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-12 18:13 -0800
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:23 -0500
              Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 20:55 -1000
            Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 20:46 -1000
              Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-13 01:06 -0800
                Re: I'm so conflicted... Mikael Nordman <oh2aun@gmail.com> - 2016-11-13 12:59 -0800
                Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 18:27 -0800
                Re: I'm so conflicted... Mikael Nordman <oh2aun@gmail.com> - 2016-11-13 20:34 -0800
              Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 17:56 -0800
                Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-14 14:53 +1100
                Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-13 22:04 -1000
          Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-13 10:51 +0100
  Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-14 03:10 -0800
    Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-15 01:03 +1100
      Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-14 07:31 -0800
        Re: I'm so conflicted... foxaudioresearch@gmail.com - 2016-11-14 13:29 -0800
          Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-15 03:02 -0800
            Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-15 13:39 +0100
        Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-15 18:22 -0800
          Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-16 01:32 -0800
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 13:00 -0800
              Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 13:04 -0800
              Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-16 13:42 -0800
                Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-17 12:28 -0800
                Re: I'm so conflicted... Raimond Dragomir <raimond.dragomir@gmail.com> - 2016-11-17 22:14 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-19 15:01 -0800
                Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-19 16:55 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 10:36 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 10:43 -0800
                Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-20 11:15 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 13:57 -0800
                Re: I'm so conflicted... Walter Banks <walter@bytecraft.com> - 2016-11-28 13:26 -0500
          Re: I'm so conflicted... Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-11-16 10:25 +0000
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 12:33 -0800

csiph-web