<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/runtime/os_linux.go, branch json-isValidNumber</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=json-isValidNumber</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=json-isValidNumber'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2023-02-16T19:34:38Z</updated>
<entry>
<title>runtime: expose auxv for use by x/sys/cpu</title>
<updated>2023-02-16T19:34:38Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2022-12-17T04:19:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1a9893a969e0a73dc4f1e48ed40ccaf29ec238a6'/>
<id>urn:sha1:1a9893a969e0a73dc4f1e48ed40ccaf29ec238a6</id>
<content type='text'>
Updates #57336

Change-Id: I181885f59bac59360b855d3990326ea2b268bd28
Reviewed-on: https://go-review.googlesource.com/c/go/+/458256
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime: remove go118UseTimerCreateProfiler</title>
<updated>2023-01-28T19:00:35Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-01-26T22:37:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=915af1b7ce23c5f0b83ed5afbbd952a4edf56daa'/>
<id>urn:sha1:915af1b7ce23c5f0b83ed5afbbd952a4edf56daa</id>
<content type='text'>
Change-Id: I37b15690fef6ca5354def834b1f6094e133a9fe4
Reviewed-on: https://go-review.googlesource.com/c/go/+/463736
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Rhys Hiltner &lt;rhys@justin.tv&gt;
Auto-Submit: Keith Randall &lt;khr@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: retry thread creation on EAGAIN</title>
<updated>2022-11-10T20:44:45Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2022-11-01T23:04:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=14018c8becc385f79f62f9cdf24cab93fe3e0cdc'/>
<id>urn:sha1:14018c8becc385f79f62f9cdf24cab93fe3e0cdc</id>
<content type='text'>
This copies the logic we use in runtime/cgo, when calling pthread_create,
into runtime proper, when calling newosproc.

We only do this in newosproc, not newosproc0, because in newosproc0 we
need a nosplit function literal, and we need to pass arguments to it through
newosproc, which is a pain. Also newosproc0 is only called at process
startup, when thread creation is less likely to fail anyhow.

Fixes #49438

Change-Id: Ia26813952fdbae8aaad5904c9102269900a07ba9
Reviewed-on: https://go-review.googlesource.com/c/go/+/447175
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: consolidate some low-level error reporting</title>
<updated>2022-11-10T18:51:20Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2022-11-01T19:33:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=79d9b395adf90f186617ee37800a18af0a7095ef'/>
<id>urn:sha1:79d9b395adf90f186617ee37800a18af0a7095ef</id>
<content type='text'>
Use a single writeErrStr function. Avoid using global variables.
Use a single version of some error messages rather than duplicating
the messages in OS-specific files.

Change-Id: If259fbe78faf797f0a21337d14472160ca03efa0
Reviewed-on: https://go-review.googlesource.com/c/go/+/447055
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: add missing closing curly brace in runtime corruption error message</title>
<updated>2022-10-26T22:20:16Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2022-10-26T20:38:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ed24b37fd2b0c242525eb2203d90627c4be1b149'/>
<id>urn:sha1:ed24b37fd2b0c242525eb2203d90627c4be1b149</id>
<content type='text'>
(Fixing the most important part of this bug.)

Updates #56426

Change-Id: If657ae47a5fe7dacc31d2c487e53e9f2dd5d03bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/445695
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Auto-Submit: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: fix a few function names on comments</title>
<updated>2022-10-26T02:39:39Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2022-10-03T01:32:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=069d1fc9e2085d93ea256b6c49b5d7c3026f79a3'/>
<id>urn:sha1:069d1fc9e2085d93ea256b6c49b5d7c3026f79a3</id>
<content type='text'>
Change-Id: I4be0b1e612dcc21ca6bb7d4395f1c0aa52480759
GitHub-Last-Rev: 032480c4c9ddb2bedea26b01bb80b8a079bfdcf3
GitHub-Pull-Request: golang/go#55993
Reviewed-on: https://go-review.googlesource.com/c/go/+/437518
Reviewed-by: hopehook &lt;hopehook@golangcn.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Run-TryBot: hopehook &lt;hopehook@golangcn.org&gt;
</content>
</entry>
<entry>
<title>runtime: treat SI_TKILL like SI_USER on Linux</title>
<updated>2022-09-21T01:56:24Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2022-09-20T19:24:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d11c58eedbee29b4912dd50508b36ad15ebb739e'/>
<id>urn:sha1:d11c58eedbee29b4912dd50508b36ad15ebb739e</id>
<content type='text'>
On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two cases the same. Add a Linux-specific test.

Change the test to use the C pause function rather than sleeping
for a second, as that achieves the same effect.

This is a roll forward of CL 431255 which was rolled back in CL 431715.
This new version skips flaky tests on more systems, and marks a new method
nosplit.

Change-Id: Ibf2d3e6fc43d63d0a71afa8fcca6a11fda03f291
Reviewed-on: https://go-review.googlesource.com/c/go/+/432136
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>Revert "runtime: treat SI_TKILL like SI_USER on Linux"</title>
<updated>2022-09-19T13:56:07Z</updated>
<author>
<name>Cuong Manh Le</name>
<email>cuong.manhle.vn@gmail.com</email>
</author>
<published>2022-09-19T05:48:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fc1cddcfe916eff82b7c6a0e82765e9b9fe29980'/>
<id>urn:sha1:fc1cddcfe916eff82b7c6a0e82765e9b9fe29980</id>
<content type='text'>
This reverts CL 431255.

Reason for revert: breaks darwin-arm and linux-noopt builders.

Change-Id: I29332b935cc1e35fa039af3d70465e496361fcc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/431715
Run-TryBot: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: treat SI_TKILL like SI_USER on Linux</title>
<updated>2022-09-17T01:41:08Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2022-09-15T18:33:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7c87012f041948af55d323fc5447230c930e79aa'/>
<id>urn:sha1:7c87012f041948af55d323fc5447230c930e79aa</id>
<content type='text'>
On Linux a signal sent using tgkill will have si_code == SI_TKILL,
not SI_USER. Treat the two cases the same. Add a Linux-specific test.

Change the test to use the C pause function rather than sleeping
for a second, as that achieves the same effect.

Change-Id: I2a36646aecabcab9ec42ed9a048b07c2ff0a3987
Reviewed-on: https://go-review.googlesource.com/c/go/+/431255
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>runtime: convert mOS.profileTimerValid to internal atomic type</title>
<updated>2022-08-31T15:12:21Z</updated>
<author>
<name>Andy Pan</name>
<email>panjf2000@gmail.com</email>
</author>
<published>2022-08-27T18:24:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d3b35a42429cec6d57d0d1e167d9443d0fbd6e97'/>
<id>urn:sha1:d3b35a42429cec6d57d0d1e167d9443d0fbd6e97</id>
<content type='text'>
For #53821

Change-Id: I6ef90867e918d4907baa83c5a811f1f93e8c09a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/426196
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
Run-TryBot: Michael Knyszek &lt;mknyszek@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
</content>
</entry>
</feed>
