[Openmcl-devel] Solaris x86-64 and %gs

Gary Byers gb at clozure.com
Mon Jan 14 12:19:07 PST 2008

On Mon, 14 Jan 2008, Chris Curtis wrote:

> Okay, this may be a really stupid, naïve question... but rather than diving 
> into asm-land here, why wouldn't we just write:
> syscall(SYS_lwp_private, tcr)?
> That's really all amd64_set_gsbase and arch_prctl do anyway, right?
> --chris

Sure; this happens once per thread-creation, so it's not exactly
a bottleneck.

More information about the Openmcl-devel mailing list