This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matrixise
Recipients keirlawson, matrixise
Date 2019-02-20.20:15:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550693706.59.0.520095378981.issue36054@roundup.psfhosted.org>
In-reply-to
Content
so, I have also tested with the last docker image of golang.

> docker run --rm --cpus 1  -it golang /bin/bash

here is the code of golang:

package main

import "fmt"
import "runtime"

func main() {
	cores := runtime.NumCPU()
	fmt.Printf("This machine has %d CPU cores.\n", cores)
}

Here is the output
> ./demo 
This machine has 4 CPU cores.

When I try with grep on /proc/cpuinfo
I get this result

> grep processor /proc/cpuinfo  -c
4


I will test with openjdk because it's related to Java and see if I can get the result of 1
History
Date User Action Args
2019-02-20 20:15:06matrixisesetrecipients: + matrixise, keirlawson
2019-02-20 20:15:06matrixisesetmessageid: <1550693706.59.0.520095378981.issue36054@roundup.psfhosted.org>
2019-02-20 20:15:06matrixiselinkissue36054 messages
2019-02-20 20:15:06matrixisecreate