Re:Three bugs in the Go MySQL driver
by apta on Thursday May 21, 2020 @06:36AM
(#23256824)
Loom will have superior context cancellation and deadline handling than golang. https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part1....
[ Parent
| on HN ]
Re:Three bugs in the Go MySQL driver
by Traubenfuchs on Tuesday June 02, 2020 @04:30AM
(#23388925)
I didn't read all of it, but I was wondering: In a virtual loom thread, am I allowed to call currentThread().sleep(...); or will it block the system thread? Or is there some magic like currentThread().sleepAndThen(..., ()->{}); ?