> You'd then provide a source file, PdfThreadIdentifier_pthread.cpp, that > used the private data pointer to store suitable pthread-specific thread > identification info. Then you implement operator== and you're done. >
Er, never mind that. I'm reworking the mutex stuff now, so that: - It supports both recursive and non-recursive mutexes, using platform facilities. Which type is being used is known at compile-time. - On pthreads platforms it'll use error-checking mutexes when debugging is enabled - Platform implementations are separated out into different header files and conditionally included depending on platform. - All three mutex adapter implementations (pthread, win32, and noop) do most of their work in the header. The cpp implementation is mostly used for ctors and dtors which are less performance critical anyway. -- Craig Ringer ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
