mirror of
https://github.com/libretro/Play-.git
synced 2025-02-25 06:01:08 +00:00
replace boost::thread dependency with std
This commit is contained in:
parent
4decc7860e
commit
e3e3280009
@ -263,7 +263,7 @@ CMemoryCardView::CRender::CRender(HWND hWnd, const CViewState* pViewState)
|
||||
, m_threadOver(false)
|
||||
, m_thread(NULL)
|
||||
{
|
||||
m_thread = new boost::thread(std::tr1::bind(&CRender::ThreadProc, this));
|
||||
m_thread = new std::thread(std::tr1::bind(&CRender::ThreadProc, this));
|
||||
}
|
||||
|
||||
CMemoryCardView::CRender::~CRender()
|
||||
|
@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
#include <map>
|
||||
#include "win32/Window.h"
|
||||
@ -68,7 +67,7 @@ private:
|
||||
const CMemoryCard* m_memoryCard;
|
||||
|
||||
CMailBox m_mailBox;
|
||||
boost::thread* m_thread;
|
||||
std::thread* m_thread;
|
||||
bool m_threadOver;
|
||||
};
|
||||
|
||||
|
@ -62,7 +62,7 @@ CSaveIconView::CSaveIconView(HWND hParent, const RECT& rect)
|
||||
Create(WS_EX_STATICEDGE, CLSNAME, _T(""), WS_VISIBLE | WS_CLIPCHILDREN | WS_CHILD, rect, hParent, NULL);
|
||||
SetClassPtr();
|
||||
|
||||
m_thread = new boost::thread(std::tr1::bind(&CSaveIconView::ThreadProc, this));
|
||||
m_thread = new std::thread(std::tr1::bind(&CSaveIconView::ThreadProc, this));
|
||||
}
|
||||
|
||||
CSaveIconView::~CSaveIconView()
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef _SAVEICONVIEW_H_
|
||||
#define _SAVEICONVIEW_H_
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
#include "win32/Window.h"
|
||||
#include "../saves/Save.h"
|
||||
#include "../MailBox.h"
|
||||
@ -34,7 +33,7 @@ private:
|
||||
|
||||
HGLRC m_hRC;
|
||||
|
||||
boost::thread* m_thread;
|
||||
std::thread* m_thread;
|
||||
bool m_threadOver;
|
||||
CMailBox m_mailBox;
|
||||
|
||||
|
@ -8,10 +8,10 @@
|
||||
#include <set>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include <boost/signals2.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
#include "Types.h"
|
||||
#include "Stream.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user