Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: Louis Krupp Newsgroups: comp.compilers Subject: Re: Question about inter-thread stack references Date: Fri, 16 Jan 2015 22:28:19 -0700 Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com Lines: 24 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <15-01-024@comp.compilers> References: <15-01-015@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: miucha.iecc.com 1421478842 97733 2001:470:1f07:1126:0:676f:7373:6970 (17 Jan 2015 07:14:02 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Sat, 17 Jan 2015 07:14:02 +0000 (UTC) Keywords: architecture Posted-Date: 17 Jan 2015 02:14:02 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1481 On Thu, 15 Jan 2015 23:54:57 -0800, Ivan Godard 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? > ... >Is anyone aware of language/thread package/hardware rules about required >semantics for such usage? Is it explicitly permitted, explicitly banned, >stated to be implementation defined, stated to be undefined, or simply >not mentioned? This sounds a bit like what was once known as Burroughs Large Systems (then Unisys A-Series and now Clearpath or something) architecture. It had processes, not threads, but processes can be related and can share data. Every process has a stack, one stack can have a reference into another stack, and unfortunately, that's about all I can remember at the moment. There are architecture reference manuals out there. The data reference I'm thinking of is called a Stuffed Indirect Reference Word, which might give you some idea of what you're getting into. Louis