搜索资源列表
thread_sample
- 线程示例:读写文件、递归创建线程进程、快速排序-thread Example : reading and writing documents, recursive process of creating threads, Quick Sort
QsortWithThreads
- 多线程和多进程快速排序,可以选择线程数量和进程数量,控制排序。-Multi-threaded and multi-process, quick sort, you can choose the number of the number of threads and processes to control the sort.
Mutex_Critical
- 这个例子利用多线程使用不同的排序算法对数据进行排序,每一个线程使用不同的算法。主线程里使用快速排序QuickSort,其他四个算法分别建立四个子线程,在子线程中进行排序。因为每一个线程都要调用函数PrintResult把结果输出到显示器上,所以不同的线程就会争夺着向显示器输出,这样,不同线程的输出就会混合在一起,所以呢必须让线程一个接着一个输出。也就是必须对PrintResult进行互斥控 制。要进行互斥控制,则必须用到Event、Mutex、CrititicalSection、Semaph
duoxiangchengpaixu
- 多线程排序---希尔排序、快速排序、堆排序,并储存结果和输出结果!-Multi-threaded sort--- Hill sort, quick sort, heap sort, and store the results and output results!
OmpFinal
- openMP下的多线程二叉树快排序,使用多线程提高排序效率,当线程数和排序数组大小一致时达最高速度-quick sort on openMP
quick_sort
- 并行计算基于mpi的一个简单快速排序的代码,代码完整可运行。-Parallel computing mpi based on a simple quick sort of code, code integrity can be run.