所属分类:
并行计算
开发工具:Java
文件大小:2KB
下载次数:4
上传日期:2011-12-09 13:10:57
说明: JAVA多线程找质数。
输入为你想要创建的线程数和质数上限。
例: java PrimeSieve 10 3会利用三个线程输出10以下所有的质数
(JAVA multi-threading to find prime numbers.
Enter the number of threads you want to create the maximum number and quality.
Example: java PrimeSieve 10 3 will make use of all of the following three threads out of 10 prime numbers)
文件列表:
Prime
.....\Mark.java,627,2011-12-06
.....\MarkThr.java,827,2011-12-06
.....\PrimeSieve.java,2515,2011-12-06