Exemplo n.º 1
0
void send_randoms(int amount, channel<int>& c) {
	for (int i=0; i<amount; i++) {
		c.send(1);
	}
}