Could you let me know which compiler can support pre-emption and how to 
enable it? Thanks.

On Saturday, August 17, 2019 at 9:20:07 AM UTC+8, Ian Davis wrote:
>
> On Fri, 16 Aug 2019, at 7:09 PM, dr.ch...@gmail.com <javascript:> wrote:
>
> Dear Community and dear Go-developers,
>
> Meanwhile it is clear why things do not work:
> The Go-Scheduler is unable to allow to switch to another goroutine in 
> busy-waiting-loops -
> the only possibility to get around that problem is either to put 
> "switch-steps" into the source
> - either "time.Sleep(1)" or "runtime.Gosched()".
> I think that THIS SHOULD BE DOCUMENTED IN THE LANGUAGE SPECIFICATION !!!!!
>
>
> I don't believe this is a language issue. Different compiler 
> implementations could support pre-emption if they chose to.
>
> Ian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2399f893-7030-476f-956c-b3f9d6565f67%40googlegroups.com.

Reply via email to