A Way to Substitute Multi-Threading Programming at Windows

Article Preview

Abstract:

After the emergence of multi-threading technology, which improve the efficiency of the system and improve the running speed of the procedure has played a significant role. While multi-threading has its rare, but not omnipotent, after all, multi-threaded, and it also has many deficiencies. If the programmers simply hold the pursuit of multi-threaded, in the case of improper application, it will reduce the efficiency of procedures, resulting in error that can not be resolved. The paper aims to explain a way to instead of multi-threaded to complete background work: override OnIdle() function of CWinApp class to deal with background tasks. Of course, the function can not be used to complete complex and demanding real-time occasions.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

2333-2336

Citation:

Online since:

February 2013

Authors:

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Jim Beveridge, Robert Wiener: Multithreading Applications in Win32-The Complete Guide to Threads (Addison-Wesley Professional, 1996).

Google Scholar

[2] Jeffrey Richter, Christophe Nasarre: Windows via C/C++ (Microsoft Press, 2011).

Google Scholar

[3] Yao Zhang, Lishan Guo, Chuanzhi Dai: Windows API Functional Handbook (Metallurgical Industry Press, Beijing 2003).

Google Scholar

[4] S.Q. Chen: Journal of Sanming College, Vol. 19 (2002), p.49.

Google Scholar

[5] G.S. Wu, X.Z. Song, M.H. Zheng: Application Research of Computers, Vol. 18 (2001), p.33.

Google Scholar