Back to revision 1109. Accidentally checked in more files than I intended.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1111 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
16094ffe39
commit
ca6a94ac97
16 changed files with 344 additions and 450 deletions
|
@ -26,7 +26,18 @@
|
|||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
using namespace ::std;
|
||||
|
||||
#if !defined( NULL )
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
// define nullptr even though new compilers will have this keyword just so we
|
||||
// have a consistent and easy way of identifying which uses of 0 mean null.
|
||||
#if !defined( nullptr )
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
||||
|
@ -45,8 +56,6 @@
|
|||
|
||||
#else
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#define LOKI_pthread_t \
|
||||
pthread_t
|
||||
#define LOKI_pthread_create(handle,attr,func,arg) \
|
||||
|
@ -56,19 +65,6 @@
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
using namespace ::std;
|
||||
|
||||
#if !defined( NULL )
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
// define nullptr even though new compilers will have this keyword just so we
|
||||
// have a consistent and easy way of identifying which uses of 0 mean null.
|
||||
#if !defined( nullptr )
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class Thread
|
||||
|
@ -368,10 +364,7 @@ bool TestThreadLocalClassStaticValue( void )
|
|||
// ----------------------------------------------------------------------------
|
||||
|
||||
int main( int argc, const char * const argv[] )
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
{
|
||||
bool okay = true;
|
||||
cout << "Starting ThreadLocal tests." << endl;
|
||||
cout << "If any tests fail, or any assertions fail," << endl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue