README.txt
上传用户:sunlush021
上传日期:2022-06-22
资源大小:90k
文件大小:2k
- TinyThread++ v0.6
- =================
- About
- -----
- TinyThread++ is a minimalist, portable, threading library for C++, intended to
- make it easy to create multi threaded C++ applications.
- The library is closesly modeled after the current C++0x standard (draft), but
- only a subset is implemented at the moment.
- See the documentation in the doc/html directory for more information.
- Using TinyThread++
- ------------------
- To use TinyThread++ in your own project, just add tinythread.cpp and
- tinythread.h to your project. In your own code, do:
- #include <tinythread.h>
- using namespace tthread;
- If you wish to use the fast_mutex class, inlude fast_mutex.h:
- #include <fast_mutex.h>
- History
- -------
- v0.6 - 2010.04.28
- - Added a fast_mutex class (in fast_mutex.h).
- - Made the test.cpp application compile under Mac OS X and MinGW/g++ 3.x.
- v0.5 - 2010.03.31
- - Added the thread_local keyword (support for thread-local storage).
- - Added a test application to test the API (test.cpp).
- - Improved the Doxygen documentation.
- v0.4 - 2010.03.27
- - Added thread::get_id() and this_thread::get_id().
- - Changed the namespace name from tinythread to tthread.
- v0.3 - 2010.03.24
- - Fixed a compiler error for fractal.cpp under MS Visual C++.
- - Added colors to the fractal generator.
- v0.2 - 2010.03.23
- - Better C++0x conformance.
- - Better documentation.
- - New classes:
- - lock_guard
- - New member functions:
- - thread::joinable()
- - thread::native_handle()
- - mutex::try_lock()
- - Added a multi threaded fractal generator test application.
- v0.1 - 2010.03.21
- - Initial release.
- License
- -------
- Copyright (c) 2010 Marcus Geelnard
- This software is provided 'as-is', without any express or implied
- warranty. In no event will the authors be held liable for any damages
- arising from the use of this software.
- Permission is granted to anyone to use this software for any purpose,
- including commercial applications, and to alter it and redistribute it
- freely, subject to the following restrictions:
- 1. The origin of this software must not be misrepresented; you must not
- claim that you wrote the original software. If you use this software
- in a product, an acknowledgment in the product documentation would be
- appreciated but is not required.
- 2. Altered source versions must be plainly marked as such, and must not be
- misrepresented as being the original software.
- 3. This notice may not be removed or altered from any source
- distribution.