ZThread-2.3.2
所属分类:单片机开发
开发工具:C/C++
文件大小:553KB
下载次数:1
上传日期:2015-09-23 21:11:24
上 传 者:
lchmlc
说明: 跨平台的zthread线程库,很经典。值得学习和研究借鉴。
(zthread source)
文件列表:
ZThread-2.3.2 (0, 2014-11-30)
ZThread-2.3.2\AUTHORS (168, 2003-02-28)
ZThread-2.3.2\BUILDING (1058, 2003-07-30)
ZThread-2.3.2\COPYING (1057, 2005-03-13)
ZThread-2.3.2\ChangeLog (26722, 2005-03-13)
ZThread-2.3.2\INSTALL (7971, 2002-06-29)
ZThread-2.3.2\LICENSE (1057, 2005-03-13)
ZThread-2.3.2\MIT.TXT (1057, 2005-03-13)
ZThread-2.3.2\Makefile.am (3897, 2005-03-13)
ZThread-2.3.2\Makefile.in (20377, 2005-03-13)
ZThread-2.3.2\NEWS (353, 2005-03-13)
ZThread-2.3.2\TODO (4006, 2005-03-13)
ZThread-2.3.2\aclocal.m4 (262725, 2005-03-13)
ZThread-2.3.2\config.guess (43609, 2005-03-13)
ZThread-2.3.2\config.sub (31160, 2005-03-13)
ZThread-2.3.2\configure (745662, 2005-03-13)
ZThread-2.3.2\configure.ac (6310, 2005-03-13)
ZThread-2.3.2\depcomp (12117, 2002-06-29)
ZThread-2.3.2\doc (0, 2014-11-30)
ZThread-2.3.2\doc\CVS (0, 2015-09-23)
ZThread-2.3.2\doc\bugs.js (259, 2003-07-30)
ZThread-2.3.2\doc\contact.html (1862, 2005-03-13)
ZThread-2.3.2\doc\cvs.html (2211, 2005-03-13)
ZThread-2.3.2\doc\documentation.html (2563, 2005-03-13)
ZThread-2.3.2\doc\download.html (1946, 2005-03-13)
ZThread-2.3.2\doc\footer.html (286, 2005-03-13)
ZThread-2.3.2\doc\header.html (1412, 2005-03-13)
ZThread-2.3.2\doc\html (0, 2015-09-23)
ZThread-2.3.2\doc\index.html (1754, 2005-03-13)
ZThread-2.3.2\doc\zthread.css (3885, 2003-07-30)
ZThread-2.3.2\doc\zthread.doxygen (24633, 2003-08-05)
ZThread-2.3.2\include (0, 2014-11-30)
ZThread-2.3.2\include\CVS (0, 2015-09-23)
ZThread-2.3.2\include\zthread (0, 2014-11-30)
ZThread-2.3.2\include\zthread\.Barrier.h.swp (4096, 2005-03-13)
ZThread-2.3.2\include\zthread\AtomicCount.h (2325, 2005-03-13)
ZThread-2.3.2\include\zthread\Barrier.h (9565, 2005-03-13)
ZThread-2.3.2\include\zthread\Barrier.h.orig (9573, 2005-03-13)
ZThread-2.3.2\include\zthread\BiasedReadWriteLock.h (6472, 2005-03-13)
... ...
ZTHREADS 2.3.1
by Eric Crahen
http://zthread.sourceforge.net
OVERVIEW:
Concurrency has become an increasingly important aspect of software today.
The ZThread package is an advanced object-oriented, cross-platform, C++
threading and synchronization library that has been designed and implemented
by the author and released under the MIT license. It provides a high level
abstraction of the native threading mechanisms to offer a great deal of
flexibility and control.
This software features interruptible Thread and Runnable objects for C++,
control objects and implementations of concurrency design patterns. This
includes semaphores, mutexes, condition variabes as well as other more
complex components.
Existing threading APIs do not provide a consistent and portable means for
exercising control over concurrently executing software. Thread cancellation and termination is
one example of this complexity. ZThreads includes an elegant method of
safely terminating threads without the complications of using cancellation
handlers or other similar constructs.
This is a platform independent architecture that was designed by the
author. Implementations have been provided for POSIX and Win32 platforms.
Building this library was quite different for POSIX than it was for Win32
due to the nature of the functionality each platform naturally provides;
each platform had strong and weak points. They were used to create the most
flexible and efficent abstraction possible.
The result is an excellent software layer on which to build mutlithreaded
code.
LICENSE:
This source has been released under the MIT license. See MIT.TXT for
details regarding the license. You can you use this in closed source
projects, contact me if you need to discuss a different licencing.
COMPILING:
ZT_POSIX, ZT_WIN32 should be defined to specific what platofrm your building
on this. This is mainly so the right modifiers can be placed on class and
function definitions to export things from a DLL properly if your using the
WIN32 implementation. If you leave these flags out ZThreads will try to guess.
See BUILDING for more details.
NOTES:
Please report bugs to me via email, I don't monitor the bug tracker
or the forums on sf.
HISTORY:
So far, this library has been tested on MacOS X, Linux, Tru*** Unix,
Win95, Win***, WinNT, Win2k, WinXP, SunOS, and FreeBSD.
近期下载者:
相关文件:
收藏者: