readme.txt
来自「Visual DSP++ VDK的应用举例」· 文本 代码 · 共 22 行
TXT
22 行
Description:
------------
This example demonstrates the difference between a thread's Create function
and its construction function. The main difference is that a thread should
new (malloc) all resources in the constructor, delete (free) them in the
destructor, and check to make sure they were all new (malloc)'ed okay in
the create function.
Files:
------
factory.cpp
factory.h
A thread that just creates many worker threads, and prints the number of
threads created at the end of its Run function.
worker.cpp
worker.h
A thread that when constructed tries to create more space than might be
available. If the construction fails, the create function tests that
the array could be created. When it can't it shows the fail condition.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?