2018-07-08から1日間の記事一覧
序文 runtime packageには Goexit() というfunctionがあります。 // Goexit terminates the goroutine that calls it. No other goroutine is affected. // Goexit runs all deferred calls before terminating the goroutine. Because Goexit // is not a p…
序文 runtime packageには Goexit() というfunctionがあります。 // Goexit terminates the goroutine that calls it. No other goroutine is affected. // Goexit runs all deferred calls before terminating the goroutine. Because Goexit // is not a p…