MCPcopy 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
48List<PacketPtr> UniverseConnection::pull() {
49 MutexLocker locker(m_mutex);
50 return List<PacketPtr>::from(take(m_receiveQueue));
51}
52
53PacketPtr UniverseConnection::pullSingle() {
54 MutexLocker locker(m_mutex);

Callers 4

disconnectMethod · 0.80
updateMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

takeFunction · 0.85

Tested by 2

runMethod · 0.64
runMethod · 0.64