搜索资源列表
example
- 利用共享内存实现多线程间通信。 主线程派生子线程后即处于休眠状态,等待子线程结束时发出结束信号唤醒。在被唤醒后,主线程向屏幕输出结束信息! 线程A向共享内存中写入A~Z的大写字母。 线程B通过共享内存接收这些字母,并将其保存到/test.dat文件中。 注意线程之间的同步互斥! -Using shared memory communication between multi-threading. Derived from sub-thread after main thread
Delaunay
- Delaunay三角剖分算法介绍和c++源码。代码封装了其他人的代码包,在cygwin和redhat下编译通过。-This C++ library module is just a wrapper class on the Triangle package of Jonathan. The C++ wrapper will certainly slow access down if you want to mess with the triangulation but the basic del
thread.dat
- int main(int argc,char *argv[]) { char ch while(true) { printf("*************************************\n") printf(" 1.Reader Priority\n") printf(" 2.Writer Priority\n") printf(" 3.Exit to Windows\n") printf("*******