🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2062

"Shared" keyword and register arg passing on m68k

#2062
From: Peter R. Ham
Date: Tue, 20 Dec 1988 06:14
20 lines
1385 bytes
Hi,
	Michael Tiemann mentioned to me that new version of gcc has 
the new keyword (or declaration adjective) "shared" which indicates
if a variable is shared between a team of light weight processes (threads)
in the same address space.  Can anyone describe this feature to me
in any more detail and who put this in?
	I'd like to make use of this feature in os experiments on machines
like the vax and suns (because that's what we've got).
	I'm also interested in experimenting with calling conventions
that pass arguments in registers for these machines.  I notice that the
risc ports do this.  How about m68k and vax?  There's a "reg_parm" (sp.) or
some flag for the m68k version, but there's a comment that says:
"Note: This doesn't work.".  Does anyone know why this comment exists?

Peter
--

Peter Ham			PO Box 3430	(415) 321-5746
MS Computer Science Student	Stanford, CA	ham@polya.stanfor.edu
Stanford University 		94309
Technical Details
Message-ID: <HAM.88Dec19221421@polya.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!milano!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!labrea!polya!ham

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!milano!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!labrea!polya!ham
From: ham@polya.Stanford.EDU (Peter R. Ham)
Newsgroups: gnu.gcc.bug
Subject: "Shared" keyword and register arg passing on m68k
Message-ID: <HAM.88Dec19221421@polya.Stanford.EDU>
Date: 20 Dec 88 06:14:22 GMT
Sender: ham@polya.Stanford.EDU
Distribution: gnu
Organization: Stanford University
Lines: 19