Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math

Topic: meforce
Replies: 36   Last Post: Mar 13, 2013 1:28 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Shmuel (Seymour J.) Metz

Posts: 3,366
Registered: 12/4/04
Re: To see me always changes
Posted: Feb 17, 2013 10:16 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In <DmJ5SKFdRQph-pn2-Iu4uIsOT7cBR@209-142-179-216.dyn.centurytel.net>,
on 02/14/2013
at 01:46 PM, wiljan@nospam.pobox.com (Will Janoschka) said:

>Then your thread safe code cannot call itself from within itself

What gives you that idea? A procedure that is recursive and reentrant
will generaly have local data on the stack, but that has nothing to do
with making copies of other data.

>a local copy must be made for anything that changes changing
>global data until final return from current instantiation would
>cause computation that is circular.


There is no such requirement, and no circularity. There is a
requirement that changes to global data be serialized, but that
applies whether it is done in the middle or just prior to return.

>For example any part of an general interrupt routine that can be
>interrupted must be reentrant. global variables can be used if
>not changed in this instantiation.


Interrupt routines often change global data, e.g., dispatch queues.
BTW, they normally need to be reentrant even if they are
noninterruptible, because there may be more than one processor.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org



Date Subject Author
1/23/13
Read Re: meforce
mahipal7638@gmail.com
1/30/13
Read To see me always changes
mahipal7638@gmail.com
2/2/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/5/13
Read Re: To see me always changes
Will Janoschka
2/5/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/9/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/9/13
Read Re: To see me always changes
Frederick Williams
2/9/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/9/13
Read Re: To see me always changes
Tom Potter
2/10/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/12/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/13/13
Read Re: To see me always changes
Tom Potter
2/10/13
Read Re: To see me always changes
Will Janoschka
2/10/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/10/13
Read Re: To see me always changes
Will Janoschka
2/14/13
Read Re: To see me always changes
Shmuel (Seymour J.) Metz
2/14/13
Read Re: To see me always changes
Will Janoschka
2/17/13
Read Re: To see me always changes
Shmuel (Seymour J.) Metz
2/17/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/18/13
Read Re: To see me always changes
Ruud Harmsen
2/18/13
Read Re: To see me always changes
Will Janoschka
2/19/13
Read Re: To see me always changes
Shmuel (Seymour J.) Metz
2/19/13
Read Re: To see me always changes
Shmuel (Seymour J.) Metz
2/20/13
Read Re: To see me always changes
mahipal7638@gmail.com
2/28/13
Read Re: To see me always changes
mahipal7638@gmail.com
3/1/13
Read Re: To see me always changes
Will Janoschka
3/1/13
Read Re: To see me always changes
mahipal7638@gmail.com
3/1/13
Read Re: To see me always changes
Will Janoschka
3/1/13
Read Re: To see me always changes
mahipal7638@gmail.com
3/2/13
Read Re: To see me always changes
mahipal7638@gmail.com
3/3/13
Read Re: To see me always changes
Will Janoschka
3/6/13
Read Re: To see me always changes
mahipal7638@gmail.com
3/13/13
Read Re: To see me always changes
mahipal7638@gmail.com

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.