Re: Can't build Go support in gcc-4.8.1 on OpenBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 28, 2013 at 1:32 PM, niXman <i.nixman@xxxxxxxxx> wrote:
> 2013/9/28 Ian Lance Taylor:
>
>> The current implementation of goroutines in gccgo requires the
>> makecontext, getcontext, and setcontext functions.
> What do goroutines use in gcc-4.6.x instead of theese functions?

In GCC 4.6 libgo each goroutine is run in a separate thread, rather
than using the more efficient context switching functions.


>> ... But I have not actually done this.
> Is libgo writen by you?

The vast majority of libgo is simply the same standard library that is
used by the gc compiler.  I wrote the parts of it that are specific to
gccgo.

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux