|
SwsMtc
A multithreading library for C and C++ programs that is open source,
cross platform, small footprint and high performance.
Features
- Pre-emptively scheduled threads.
- Priority inversion protection.
- Mutexes.
- Semaphores.
- Very low overhead, millisecond timers.
- Message passing.
- Multiple readers, single writer locks.
- Barriers.
- Thread local heaps.
- Small footprint (typically < 10K code).
- Fast context switching - under 2 microseconds on a 200 MHz Pentium.
- 100% ANSI C90 source with a single, small, platform/compiler adaptation module.
- Lightweight ANSI C++ 99 class wrappers.
- Ideal for embedded systems.
The package consists of the library sources, C/C++ header files, example C and
C++ applications and projects or makefiles.
Download:
User documentation,
Version 1.5.1 source
The following targets and compilers are currently supported:
- POSIX, Linux 2.6.x -i686 and -powerpc with gcc 3.4 or 4.0
- POSIX, Win32 Cygwin 1.5.19 and gcc 3.4
- Win32, Microsoft Visual C++
- Win32, OpenWatcom C++ 1.04
- Win32, BorlandC++ 5.5
- 32-bit DOS, DJGPP and gcc 4.0
- 32-bit DOS, OpenWatcom C++ 1.04
- 16-bit DOS, Microsoft Visual C++ 1.52c
- 16-bit DOS, OpenWatcom C++ 1.04
- Mac OS 9 PowerPC, CodeWarrior 8
- ARM 7, ARM SDT 2.51
- NDS devkitPro
Limitations
SwsMtc is freeware and open source. It may be freely used by any individual for
personal or private use or for their business without any restriction or charge.
Companies, organisations or governments may not use it without a license.
In no case may SwsMtc be used to deprive anyone of life, liberty or livelihood.
|