Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ pull
Method
pull
source/game/StarUniverseConnection.cpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
List<PacketPtr> UniverseConnection::pull() {
49
MutexLocker locker(m_mutex);
50
return List<PacketPtr>::from(take(m_receiveQueue));
51
}
52
53
PacketPtr UniverseConnection::pullSingle() {
54
MutexLocker locker(m_mutex);
Callers
4
disconnect
Method · 0.80
update
Method · 0.80
run
Method · 0.80
run
Method · 0.80
Calls
1
take
Function · 0.85
Tested by
2
run
Method · 0.64
run
Method · 0.64