C/C++
xplat.txt
Associated article: Cross-Platform Design Strategies
Tags: C/C++
Published source code accompanying the article by Bob Krause in which discusses the cross-platform architecture his company uses when building applications that run on multiple platforms. In doing so, he presents a set of thread classes developed for use on both Macintosh and Windows.
Cross-Platform Design Strategies by Bob Krause Listing One #if defined(WINDOWS) typedef CWinThread CNeoThreadBase; // MFC's thread class // The base class of all application threads is Neo's MFC thread class typedef CNeoThreadMFC CNeoThreadNative; #elif defined(macintosh) typedef LThread CNeoThreadBase; // PowerPlant's thread ...


