搜索资源列表
example
- 利用共享内存实现多线程间通信。 主线程派生子线程后即处于休眠状态,等待子线程结束时发出结束信号唤醒。在被唤醒后,主线程向屏幕输出结束信息! 线程A向共享内存中写入A~Z的大写字母。 线程B通过共享内存接收这些字母,并将其保存到/test.dat文件中。 注意线程之间的同步互斥! -Using shared memory communication between multi-threading. Derived from sub-thread after main thread
COM_Thread
- Using COM port under Windows XP + threading
ucos2-vc
- ucos2 2.51 在vc 下得移植 一共有4个线程,主线程TaskStart初始化消息队列,开启定时器,Tast1只是简单的运行 Task2给Task3发消息,收到回执后继续发,从A发到Z,task3则收取消息并回执-ucos2 2.51 was transplanted under the vc A total of four threads, the main thread TaskStart initialization message queue, open the t
move
- 上面这段代码就是设置x轴方向的速度为30米每秒(UDF默认是SI单位制)。vel[0]表示x、vel[1]表示y、vel[2]表示z。细心读者肯定会有疑问,这里并没有指定是哪条边界移动,别急,这需要到后面,在Fluent里设置。-When one of these general multiphase models is enabled, storage must be set aside for the mixture as well as the individual phases. Thi