9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] has anyone wished for
@ 2012-06-04 15:13 erik quanstrom
  2012-06-04 15:31 ` Lucio De Re
  0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2012-06-04 15:13 UTC (permalink / raw)
  To: 9fans

"static extern register"?

i know, the syntax doesn't make sense, but if you take "extern register"
to have the standard plan 9 meaning, and static to mean visibility limited
to this file, then there you have it.

- erik



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 15:13 [9fans] has anyone wished for erik quanstrom
@ 2012-06-04 15:31 ` Lucio De Re
  2012-06-04 15:32   ` erik quanstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Lucio De Re @ 2012-06-04 15:31 UTC (permalink / raw)
  To: 9fans

> i know, the syntax doesn't make sense, but if you take "extern register"
> to have the standard plan 9 meaning, and static to mean visibility limited
> to this file, then there you have it.

At a glance, I'd say you're looking for inline assembly?

++L




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 15:31 ` Lucio De Re
@ 2012-06-04 15:32   ` erik quanstrom
  2012-06-04 16:26     ` Rob Pike
  0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2012-06-04 15:32 UTC (permalink / raw)
  To: lucio, 9fans

On Mon Jun  4 11:26:56 EDT 2012, lucio@proxima.alt.za wrote:
> > i know, the syntax doesn't make sense, but if you take "extern register"
> > to have the standard plan 9 meaning, and static to mean visibility limited
> > to this file, then there you have it.
>
> At a glance, I'd say you're looking for inline assembly?

no.  the meaning of extern register is detailed in /sys/doc/comp.ps.

- erik



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 15:32   ` erik quanstrom
@ 2012-06-04 16:26     ` Rob Pike
  2012-06-04 16:31       ` cinap_lenrek
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Pike @ 2012-06-04 16:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs; +Cc: lucio

What happens when two files linked into the same binary both declare
static extern register variables?

-rob



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 16:26     ` Rob Pike
@ 2012-06-04 16:31       ` cinap_lenrek
  2012-06-04 16:37         ` Matthew Veety
  0 siblings, 1 reply; 7+ messages in thread
From: cinap_lenrek @ 2012-06-04 16:31 UTC (permalink / raw)
  To: 9fans

then the front falls off.

--
cinap



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 16:31       ` cinap_lenrek
@ 2012-06-04 16:37         ` Matthew Veety
  2012-06-05 14:35           ` David Leimbach
  0 siblings, 1 reply; 7+ messages in thread
From: Matthew Veety @ 2012-06-04 16:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Jun 4, 2012, at 12:31 PM, cinap_lenrek@gmx.de wrote:

> then the front falls off.
>
> --
> cinap
>

And probably the back too.

--
Veety



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] has anyone wished for
  2012-06-04 16:37         ` Matthew Veety
@ 2012-06-05 14:35           ` David Leimbach
  0 siblings, 0 replies; 7+ messages in thread
From: David Leimbach @ 2012-06-05 14:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Parts of the side.  But the ship has a freaking rail gun!

http://en.wikipedia.org/wiki/Zumwalt_class_destroyer

On Mon, Jun 4, 2012 at 9:37 AM, Matthew Veety <mveety@gmail.com> wrote:

>
> On Jun 4, 2012, at 12:31 PM, cinap_lenrek@gmx.de wrote:
>
> > then the front falls off.
> >
> > --
> > cinap
> >
>
> And probably the back too.
>
> --
> Veety
>
>

[-- Attachment #2: Type: text/html, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-05 14:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 15:13 [9fans] has anyone wished for erik quanstrom
2012-06-04 15:31 ` Lucio De Re
2012-06-04 15:32   ` erik quanstrom
2012-06-04 16:26     ` Rob Pike
2012-06-04 16:31       ` cinap_lenrek
2012-06-04 16:37         ` Matthew Veety
2012-06-05 14:35           ` David Leimbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).