This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/06/18 20:57:22 Init 0xc42007e030 | |
2018/06/18 20:57:22 Jobs Working 0xc42007e030 | |
2018/06/18 20:57:22 Sending 0 | |
2018/06/18 20:57:22 Sending 1 | |
2018/06/18 20:57:22 Sending 2 | |
2018/06/18 20:57:22 Sending 3 | |
2018/06/18 20:57:22 Pruebas 0xc42007e030 | |
================== | |
WARNING: DATA RACE | |
Read at 0x00c42007e030 by goroutine 6: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"math/rand" | |
"time" | |
) | |
type Threader struct { | |
TIME_LIMIT time.Time |