Go's goroutine is a thread pool. It maps M tasks over N threads. It has its
own scheduler, etc. It reuses threads and avoids the overhead of
unnecessary thread creation. I don't understand why you need to create a
pool on top of another pool.
On Saturday, February 18, 2023 at 11:43:57 PM UTC+7
Sure: https://github.com/golang/go/issues/58622
Thanks very much,
-Mike
On Tue, Feb 21, 2023 at 12:23 AM Ian Lance Taylor wrote:
> On Sun, Feb 19, 2023 at 11:10 AM Mike Nolta wrote:
> >
> > My code recently died with this error string: "write |1:
> copy_file_range: use of closed file".
> >
>