Re: Question about inter-thread stack references

jgk@panix.com (Joe keane)
Sun, 25 Jan 2015 09:27:16 +0000 (UTC)

          From comp.compilers

Related articles
[4 earlier articles]
Re: Question about inter-thread stack references gneuner2@comcast.net (George Neuner) (2015-01-18)
Re: Question about inter-thread stack references monnier@iro.umontreal.ca (Stefan Monnier) (2015-01-18)
Re: Question about inter-thread stack references kaz@kylheku.com (Kaz Kylheku) (2015-01-18)
Re: Question about inter-thread stack references ivan@ootbcomp.com (Ivan Godard) (2015-01-18)
Re: Question about inter-thread stack references gah@ugcs.caltech.edu (glen herrmannsfeldt) (2015-01-18)
Re: Question about inter-thread stack references gah@ugcs.caltech.edu (glen herrmannsfeldt) (2015-01-18)
Re: Question about inter-thread stack references jgk@panix.com (2015-01-25)
Re: Question about inter-thread stack references kaz@kylheku.com (Kaz Kylheku) (2015-01-25)
Re: Question about inter-thread stack references jgk@panix.com (2015-01-27)
| List of all articles for this month |
From: jgk@panix.com (Joe keane)
Newsgroups: comp.compilers
Date: Sun, 25 Jan 2015 09:27:16 +0000 (UTC)
Organization: Public Access Networks Corp.
References: 15-01-015
Keywords: parallel
Posted-Date: 25 Jan 2015 11:54:48 EST



In article 15-01-015, Ivan Godard <ivan@ootbcomp.com> wrote:
>If a process has two or more threads running in it, what are the rules
>regarding one thread referencing memory in a different thread's stack?


It should be illegal, if you ask me.


[Even if they have some way to lock and synchronize? Imagine that one
thread is acting as a server for others that put requests into a queue,
and the queue entries point to structures in the requesting thread's
stack. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.