[gnu.gcc.bug] "Shared" keyword and register arg passing on m68k

ham@polya.Stanford.EDU (Peter R. Ham) (12/20/88)

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