Changeset 3:e4ca2e057cec in xplcommon for src/xplcommon/win32/Thread.cc


Ignore:
Timestamp:
12/27/12 13:01:22 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Reorganized the code a bit

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/xplcommon/win32/Thread.cc

    r1 r3  
    3030//------------------------------------------------------------------------------
    3131
    32 #include "config.h"
    33 #ifdef HAVE_WINDOWS_H
     32#include "Thread.h"
    3433
    3534//------------------------------------------------------------------------------
    3635
    37 #include "Win32Thread.h"
     36using xplcommon::win32::Thread;
    3837
    3938//------------------------------------------------------------------------------
    4039
    41 using xplcommon::Win32Thread;
    42 
    43 //------------------------------------------------------------------------------
    44 
    45 DWORD Win32Thread::threadFn(LPVOID arg)
     40DWORD Thread::threadFn(LPVOID arg)
    4641{
    47     reinterpret_cast<Win32Thread*>(arg)->run();
     42    reinterpret_cast<Thread*>(arg)->run();
    4843    return 0;
    4944}
    5045
    5146//------------------------------------------------------------------------------
    52 #endif // HAVE_PTHREAD_H
    53 
    5447
    5548// Local Variables:
Note: See TracChangeset for help on using the changeset viewer.