Quantcast
Channel: Demon's Blog »多线程
Viewing all articles
Browse latest Browse all 3

C语言标准库函数rand与多线程

0
0
今天在一个多线程程序中调用了C标准库函数rand,结果却发现每个线程生成的随机数都是一样的,甚至每次运行程序生 […]

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images