mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use Rng from pool if possible
This commit is contained in:
parent
8cf9cc1a01
commit
509c039e2f
3 changed files with 15 additions and 5 deletions
|
@ -321,6 +321,7 @@ namespace stream
|
|||
|
||||
Packet * NewPacket () { return m_PacketsPool.Acquire(); }
|
||||
void DeletePacket (Packet * p) { return m_PacketsPool.Release(p); }
|
||||
uint32_t GetRandom ();
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue