关于线程实现的学习(1)一些资料
http://pauillac.inria.fr/~xleroy/linuxthreads/
分析文章:
http://www-900.ibm.com/developerWorks/cn/linux/kernel/l-thread/index.shtml
一些开源代码:(后来一看没什么太好的,都只是平台函数的包装)
Advanced platform-independant, Object-Oriented threading and synchronization library. Designed and tested under POSIX & Win32 systems. Not just another thread wrapper.
http://sourceforge.net/projects/zthread/
This library is intended to provide a minimal & complete Object-Oriented (OO) thread interface for C++ programmers. It is loosely modeled on the Java thread API, and the POSIX Threads standards. The architecture of the library is designed around
http://sourceforge.net/projects/openthreads/
Others:
http://sourceforge.net/projects/mplayerxp/
EVM is a virtual machine designed for easy implementation. It supports simple multithreading, bounds checking and real-time linking. Comes with a C compiler, completely platform-independent.
http://sourceforge.net/projects/evm/
CTrace is a multi-threaded trace debug library written in C. It provides a simple, fast, well documented trace utility for applications and as such is especially suitable for use in real-time embedded applications.
http://sourceforge.net/projects/ctrace/
Portable, robust, fully-threaded I/O benchmark program
http://sourceforge.net/projects/tiobench/
Portable C++ type-safe, thread-safe signal/slot library for ISO C++, Unix/BSD/Linux and Win32. Sigslot allows C++ code to use the signal/slot paradigm made popular by, for example, Qt.
http://sourceforge.net/projects/sigslot/
POSIX API for Win2K-XP. Mainly implemented in the driver. Included: write-on-copy fork, threads, mutexes, spins, condvars, rwlocks, signals ... Signals/cancelation interrupt all waitable syscalls, NT syscalls are automaticaly restarted.
........
http://sourceforge.net/projects/winntposix/