FAQ
Hi, all:

I'm reading golang's source code, and there is a bit doubt.

In $GOROOT/src/pkg/runtime/proc.c:

// Goroutine scheduler

// The scheduler's job is to distribute ready-to-run goroutines over worker threads.

//

// The main concepts are:

// G - goroutine.

// M - worker thread, or machine.

// P - processor, a resource that is required to execute Go code.

// M must have an associated P to execute Go code, however it can be

// blocked or in a syscall w/o an associated P.

What is the meaning of w/o(in the first row from bottom)? Thanks.



--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Caleb Spare at Feb 25, 2014 at 2:53 am
    without

    On Mon, Feb 24, 2014 at 6:50 PM, hyper-carrot wrote:

    Hi, all:

    I'm reading golang's source code, and there is a bit doubt.

    In $GOROOT/src/pkg/runtime/proc.c:

    // Goroutine scheduler

    // The scheduler's job is to distribute ready-to-run goroutines over worker threads.

    //

    // The main concepts are:

    // G - goroutine.

    // M - worker thread, or machine.

    // P - processor, a resource that is required to execute Go code.

    // M must have an associated P to execute Go code, however it can be

    // blocked or in a syscall w/o an associated P.

    What is the meaning of w/o(in the first row from bottom)? Thanks.



    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Brian Hatfield at Feb 25, 2014 at 2:54 am
    It's shorthand for "without"

    On Mon, Feb 24, 2014 at 9:50 PM, hyper-carrot wrote:

    Hi, all:

    I'm reading golang's source code, and there is a bit doubt.

    In $GOROOT/src/pkg/runtime/proc.c:

    // Goroutine scheduler

    // The scheduler's job is to distribute ready-to-run goroutines over worker threads.

    //

    // The main concepts are:

    // G - goroutine.

    // M - worker thread, or machine.

    // P - processor, a resource that is required to execute Go code.

    // M must have an associated P to execute Go code, however it can be

    // blocked or in a syscall w/o an associated P.

    What is the meaning of w/o(in the first row from bottom)? Thanks.



    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Hyper-carrot at Feb 25, 2014 at 2:58 am
    ok, i got it, thank you.

    在 2014年2月25日星期二UTC+8上午10时53分48秒,Brian Hatfield写道:
    It's shorthand for "without"


    On Mon, Feb 24, 2014 at 9:50 PM, hyper-carrot <free...@gmail.com<javascript:>
    wrote:
    Hi, all:

    I'm reading golang's source code, and there is a bit doubt.

    In $GOROOT/src/pkg/runtime/proc.c:

    // Goroutine scheduler

    // The scheduler's job is to distribute ready-to-run goroutines over worker threads.

    //

    // The main concepts are:

    // G - goroutine.

    // M - worker thread, or machine.

    // P - processor, a resource that is required to execute Go code.

    // M must have an associated P to execute Go code, however it can be

    // blocked or in a syscall w/o an associated P.

    What is the meaning of w/o(in the first row from bottom)? Thanks.



    --
    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...@googlegroups.com <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedFeb 25, '14 at 2:50a
activeFeb 25, '14 at 2:58a
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase