On Mon, Aug 19, 2019 at 2:05 PM Ramya Raj <ramyaraj...@gmail.com> wrote: > > In this line, are you planning to change pid to thread ID? I would like to > use glogs to display different IDs for each worker thread.
I'm not sure about that comment. The thread ID would likely be unhelpful, as goroutines migrate between threads. And the goroutine ID is unavailable, as discussed at https://golang.org/doc/faq#no_goroutine_id . Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVBagOKF3k0ZpWjcfNFHkeJU3vo1AG2h8eYAJBVjX__%3Dg%40mail.gmail.com.