Show
Ignore:
Timestamp:
12/20/09 16:53:40 (3 years ago)
Author:
saturday06
Message:

aaaaaaaaaaaaaaaaaaaaaaaaaaa

Location:
lang/objective-cplusplus/i3/trunk/src/mil
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/Thread.h

    r36211 r36213  
    1919} 
    2020 
    21 /* 
    22 #if defined(MIL_OS_WINDOWS) 
    23 #include "os-windows/Thread.h" 
    24 #define MIL_DEFAULT_THREAD mil::thread::Windows 
    25 //#elif defined(__CYGWIN__) 
    26 //#include "os-windows/Thread.h" 
    27 #elif defined(MIL_OS_UNIX) 
    28 #include "os-unix/Thread.h" 
    29 #define MIL_DEFAULT_THREAD mil::thread::Posix 
    30 #else 
    31 #error 
    32 #endif 
    33 */ 
    34  
    3521#if defined(MIL_GUI_WINDOWS) 
    36 #include "os-windows/Thread.h" 
    3722#define MIL_DEFAULT_THREAD mil::thread::Windows 
    3823#elif defined(MIL_GUI_COCOA) 
    39 #include "os-unix/Thread.h" 
    4024#define MIL_DEFAULT_THREAD mil::thread::Cocoa 
    4125#else 
     
    4731namespace mil { 
    4832namespace thread { 
     33 
    4934template <typename Child> 
    5035class Cocoa : public boost::noncopyable { 
     
    7358        void* arg_ = (void*)this; 
    7459 
    75 [thread setData:routine_ arg:arg_]; 
    76 [NSThread detachNewThreadSelector:@selector(start) toTarget:thread withObject:nil]; 
     60        [thread setData:routine_ arg:arg_]; 
     61        [NSThread detachNewThreadSelector:@selector(start) toTarget:thread withObject:nil]; 
    7762    } 
    7863 
  • lang/objective-cplusplus/i3/trunk/src/mil/src/test/Synchronize.cpp

    r35836 r36213  
    22#include <mil/Mil.h> 
    33#include <mil/Atomic.h> 
     4#include <mil/Thread.h> 
    45#include <mil/Synchronize.h> 
    5 #include <mil/Thread.h> 
    66#include <mil/Module.h> 
    77