3 ms·
> BitGenGo is actually a small program which spawns off two goroutines(threads) and they take turns setting a shared variable with a value(zero/one). Every time
by zkms 8y ago
> BitGenGo is actually a small program which spawns off two goroutines(threads) and they take turns setting a shared variable with a value(zero/one). Every time the user requests a bit, the current value of the shared variable is returned.
dakarand!
- HerrMonnezza 8y agoI had to google "dakarand"; here are links to the original post announcing the DakaRand code and the GitHub repository: - https://dankaminsky.com/2012/08/15/dakarand/ https://dankaminsky.com/2012/08/15/dakarand/ - https://github.com/stribika/dakarand https://github.com/stribika/dakarand