资源简介
Express Logic's ThreadX for Win32 Demo Using Visual C/C++
This demo program is intended for use with the book titled
"Real-Time Embedded Multithreading: Using ThreadX and ARM"
by Edward L. Lamie.
代码片段和文件信息
/* 02_sample_system.c
Create two threads one byte pool and one mutex.
The threads cooperate with each other via the mutex. */
/****************************************************/
/* Declarations Definitions and Prototypes */
/****************************************************/
#include “tx_api.h“
#include
#define DEMO_STACK_SIZE 1024
#define DEMO_BYTE_POOL_SIZE 9120
/* Define the ThreadX object control blocks... */
TX_THREAD speedy_thread;
TX_THREAD slow_thread;
TX_MUTEX my_mutex;
TX_BYTE_POOL my_byte_pool;
/* Define thread prototypes. */
void speedy_thread_entry(ULONG thread_input);
void slow_thread_entry(ULONG thread_input);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
......R 4984 2004-08-02 07:12 ThreadX_Win32_demo\02_sample_system.c
......R 4714 2004-08-02 07:13 ThreadX_Win32_demo\07_sample_system.c
......R 6655 2004-08-02 07:14 ThreadX_Win32_demo\09_sample_system.c
......R 6950 2004-08-02 07:14 ThreadX_Win32_demo\10a_sample_system.c
......R 6462 2004-08-02 07:15 ThreadX_Win32_demo\10b_sample_system.c
......R 7562 2004-08-02 07:16 ThreadX_Win32_demo\11_sample_system.c
......R 6977 2004-08-02 07:26 ThreadX_Win32_demo\12_sample_system.c
......R 15814 2004-08-02 07:17 ThreadX_Win32_demo\14_sample_system.c
......R 14149 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\02_sample_system.obj
......R 13959 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\07_sample_system.obj
......R 17132 2004-08-02 07:29 ThreadX_Win32_demo\demo\Debug\09_sample_system.obj
......R 17167 2004-08-02 07:28 ThreadX_Win32_demo\demo\Debug\10a_sample_system.obj
......R 17010 2004-08-02 07:27 ThreadX_Win32_demo\demo\Debug\10b_sample_system.obj
......R 17889 2004-08-02 07:26 ThreadX_Win32_demo\demo\Debug\11_sample_system.obj
......R 17787 2004-08-02 07:24 ThreadX_Win32_demo\demo\Debug\12_sample_system.obj
......R 29376 2004-08-02 07:22 ThreadX_Win32_demo\demo\Debug\14_sample_system.obj
......R 29224 2004-08-02 06:33 ThreadX_Win32_demo\demo\Debug\case_study.obj
......R 176186 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\demo.exe
......R 210804 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\demo.ilk
......R 23989 2004-08-02 06:32 ThreadX_Win32_demo\demo\Debug\demo.obj
......R 2828448 2004-08-02 07:24 ThreadX_Win32_demo\demo\Debug\demo.pch
......R 771072 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\demo.pdb
......R 14065 2004-08-02 06:34 ThreadX_Win32_demo\demo\Debug\project1.obj
......R 58368 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\vc60.idb
......R 69632 2004-08-02 07:30 ThreadX_Win32_demo\demo\Debug\vc60.pdb
......R 4461 2004-08-02 07:30 ThreadX_Win32_demo\demo\demo.dsp
......R 863 2004-08-02 07:30 ThreadX_Win32_demo\demo\demo.plg
......R 12121 2004-07-28 06:36 ThreadX_Win32_demo\demo.c
......R 536 2004-07-27 04:08 ThreadX_Win32_demo\ThreadX.dsw
......R 533504 2004-08-02 07:31 ThreadX_Win32_demo\ThreadX.ncb
............此处省略12个文件信息
- 上一篇:CChart开源版本,2013.10.14上传
- 下一篇:逆透视变换IPM源码
相关资源
- QT的TCP服务器DEMO
- c++ RoyCardTableView 列表插入
- nrf51822 PPI开发demo
- UCOSII_MODBUSRTU_DEMO
- windows文件夹监控(c++源码)
- zprotect 1.6 脱壳工具()
- windows系统编程源代码第四版
- DDC/CI Tool
- Programming Windows 程式开发设计指南(
- Windows核心编程源码
- c++实现P2PDemo(点对点聊天)
- windows 串口升级工具(c++源码)
- ntmedsys.sys(c++源码)
- 简单实用的easyhook 源码
- 海康威视demo+播放库
- Windows Sockets 规范及应用-Windows网络编
- Windows Sockets 编程及UR机器人通信数据
- CTP-Api行情Demo版源码
- sip.js demo(freeswitch)
- windows下定时关闭进程(应用程序)
- C++ 获得Windows和System的路径
- C++ 隐藏和显示Windows任务栏
- 管道使用demo RunDosCommand
- LBTabDemo 空间的使用
- Windows直接写屏源码
- C++ 如何获取Windows 2000系统启动时间
- windows 线程池(ThreadPoolMain.cpp)
- c++ 简单电话本demo
- AD7616_Demo程序
- 《Windows+API+编程》pdf
评论
共有 条评论