]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: fix typos
authorHiroshi Ioka <hirochachacha@gmail.com>
Wed, 21 Jun 2017 10:48:22 +0000 (19:48 +0900)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 21 Jun 2017 15:54:38 +0000 (15:54 +0000)
Change-Id: I6265ac81e5c38b201e14ddba2d6b9f0e73d8445c
Reviewed-on: https://go-review.googlesource.com/46310
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
21 files changed:
src/runtime/cgo/gcc_darwin_386.c
src/runtime/cgo/gcc_darwin_amd64.c
src/runtime/cgo/gcc_darwin_arm.c
src/runtime/cgo/gcc_darwin_arm64.c
src/runtime/cgo/gcc_dragonfly_amd64.c
src/runtime/cgo/gcc_freebsd_386.c
src/runtime/cgo/gcc_freebsd_amd64.c
src/runtime/cgo/gcc_freebsd_arm.c
src/runtime/cgo/gcc_linux_386.c
src/runtime/cgo/gcc_linux_amd64.c
src/runtime/cgo/gcc_linux_arm.c
src/runtime/cgo/gcc_linux_arm64.c
src/runtime/cgo/gcc_linux_mips64x.c
src/runtime/cgo/gcc_linux_mipsx.c
src/runtime/cgo/gcc_linux_ppc64x.c
src/runtime/cgo/gcc_linux_s390x.c
src/runtime/cgo/gcc_netbsd_386.c
src/runtime/cgo/gcc_netbsd_amd64.c
src/runtime/cgo/gcc_netbsd_arm.c
src/runtime/cgo/gcc_openbsd_386.c
src/runtime/cgo/gcc_openbsd_amd64.c

index 83092dbeacea953ead0df340272163f2fd154fe1..4ab3267d641fe3a2add24e827d3a425168c67415 100644 (file)
@@ -122,7 +122,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 93a6b8e3ed71f59dbbec2dba079b4be23227a614..181d0ab490c249acba3675deebc33813d83bb50f 100644 (file)
@@ -93,7 +93,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index bcdddd10160584e173aabcd62ac0a9f8a1903e22..e2f96e9dc8960675a30625bfc6592c1fe6e702e3 100644 (file)
@@ -64,7 +64,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 0a69c5d64602af0a6bb5d04b9337bc7f0f4046fa..25106b75a55d43e573f21f348e870a19a2eca5b9 100644 (file)
@@ -66,7 +66,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index bdfbf6b5617f51824628cf1735729d8e8bc0ad52..d25db91900071aea15e9ceaa4c46a245f73bbb43 100644 (file)
@@ -41,7 +41,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
 
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index c6d4f258c077fcbe22241e8c5184b4c76f954c54..9097a2af9028467f5479c6d0508aa6049c1b6a6b 100644 (file)
@@ -41,7 +41,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index bdfbf6b5617f51824628cf1735729d8e8bc0ad52..d25db91900071aea15e9ceaa4c46a245f73bbb43 100644 (file)
@@ -41,7 +41,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
 
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 746ca893224e6868e971576b9725a4d6de8c0018..74f2e0ede54a0824cb363814f83cad3c22b9d1e3 100644 (file)
@@ -57,7 +57,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 457a2c7e3ae7b52bee98b1d4823f3deb82aaf6da..6be4569b7aea0a91bce2d94e91b169dc5e70a443 100644 (file)
@@ -52,7 +52,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 5d8ff101401181d15e002346141f2c735f794618..42008c319122d0a747546b1cec2a89d88471c9ba 100644 (file)
@@ -69,7 +69,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 31ced5e03c86a84577f73293d66bd9958f896adc..870a8a4a82ab8bb459b55bedf32b2e37208d2260 100644 (file)
@@ -32,7 +32,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 35b8e27967f02491d094d5bdfeac80ac2dec57d6..b328407f39ed6ac5146bdf535417d924266c2017 100644 (file)
@@ -32,7 +32,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index e0ce08f4e5c1755cc14c6dd4ff658599ec9e82ea..afcd3234e8cea134355efb22510b383cfa00908d 100644 (file)
@@ -36,7 +36,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 7ed9d875751e81645dcf11d39a88a849524bd902..2a5f64a7275160ef36be553088fc83e13329e7cc 100644 (file)
@@ -36,7 +36,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        size = 0;
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index fcf77cfe4784dee2fa2dc9ce02651a6d23b7a5de..9cb6e0ce4ba575de58a5bf63879bd07db333f851 100644 (file)
@@ -42,7 +42,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index cdc9c23f49b1ad0d27845fa4c22768b23dfb6b6a..bb600482e14d34faf1e1d9656dfb9d8a75252a84 100644 (file)
@@ -40,7 +40,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index fb317c1c680cb198b96766fc1d2d9e8b55181fb4..5495f0fd720093f8761f99725dd362a4ea419d43 100644 (file)
@@ -40,7 +40,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 77a553f5fa7ebabfe0d79f2bf07c35e9494decd5..dc966fc45b4ba4f3a9b723aace2de527297ea450 100644 (file)
@@ -41,7 +41,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
 
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index 672f49c3d811519cf515d91a1b60b32df2c1f98c..b0c80ea7c444fffcf3e0820688df847b964f59ce 100644 (file)
@@ -41,7 +41,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
 
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index cfc09e504ca654c28e0b42e05e285b5123d9365a..127a1b683baec9e9241fc7cb92bbaaaebfa1f924 100644 (file)
@@ -40,7 +40,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
 
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);
 
index ce626c4e3745d0a99681976375fa4b2b8d4a15d1..34319fb0b80e3b642ba8f6ce5a51b8bef9609816 100644 (file)
@@ -40,7 +40,7 @@ _cgo_sys_thread_start(ThreadStart *ts)
        pthread_attr_init(&attr);
        pthread_attr_getstacksize(&attr, &size);
 
-       // Leave stacklo=0 and set stackhi=size; mstack will do the rest.
+       // Leave stacklo=0 and set stackhi=size; mstart will do the rest.
        ts->g->stackhi = size;
        err = _cgo_try_pthread_create(&p, &attr, threadentry, ts);