mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 13:20:07 +00:00
linux fixes
This commit is contained in:
parent
c4898ed3e3
commit
1e3bc22483
@ -507,9 +507,10 @@ void TCPThreadFunc(void* userPtr, void* lsMemory)
|
||||
args->m_cs->unlock();
|
||||
|
||||
} while (cachedSharedParam != eTCPRequestTerminate);
|
||||
|
||||
#ifdef BT_ENABLE_CLSOCKET
|
||||
socket.Close();
|
||||
socket.Shutdown(CSimpleSocket::Both);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -130,7 +130,7 @@ struct RemoteGUIHelperTCPInternalData
|
||||
|
||||
int rBytes = m_tcpSocket.Receive(maxLen);
|
||||
if (rBytes <= 0)
|
||||
return false;
|
||||
return 0;
|
||||
|
||||
//append to tmp buffer
|
||||
//recBytes
|
||||
|
@ -314,7 +314,7 @@ B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerFromExistingEx
|
||||
return (b3PhysicsClientHandle)cl;
|
||||
}
|
||||
|
||||
#include "RemoteGuiHelperTCP.h"
|
||||
#include "RemoteGUIHelperTCP.h"
|
||||
|
||||
B3_SHARED_API b3PhysicsClientHandle b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnectTCP(const char* hostName, int port)
|
||||
{
|
||||
|
2
setup.py
2
setup.py
@ -129,7 +129,7 @@ sources = ["examples/pybullet/pybullet.c"]\
|
||||
+["examples/SharedMemory/GraphicsClientExample.cpp"]\
|
||||
+["examples/SharedMemory/GraphicsServerExample.cpp"]\
|
||||
+["examples/SharedMemory/RemoteGUIHelper.cpp"]\
|
||||
+["examples/SharedMemory/RemoteGuiHelperTCP.cpp"]\
|
||||
+["examples/SharedMemory/RemoteGUIHelperTCP.cpp"]\
|
||||
+["examples/SharedMemory/PhysicsServerExample.cpp"]\
|
||||
+["examples/SharedMemory/PhysicsServerExampleBullet2.cpp"]\
|
||||
+["examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.cpp"]\
|
||||
|
Loading…
Reference in New Issue
Block a user