Eliminate some trampoline functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7015 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
67a4ac0bf6
commit
1de40588ac
20 files changed
+38
-73
No files matched your search
@@ -72,7 +72,7 @@ NetPlayClient::NetPlayClient(const std::string& address, const u16 port, const s
|
||||
is_connected = true;
|
||||
|
||||
m_selector.Add(m_socket);
|
||||
m_thread = std::thread(NetPlayThreadFunc, this);
|
||||
m_thread = std::thread(std::mem_fun(&NetPlayClient::ThreadFunc), this);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -237,7 +237,7 @@ unsigned int NetPlayClient::OnData(sf::Packet& packet)
|
||||
}
|
||||
|
||||
// called from ---NETPLAY--- thread
|
||||
void NetPlayClient::Entry()
|
||||
void NetPlayClient::ThreadFunc()
|
||||
{
|
||||
while (m_do_loop)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user