mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Need to do this too.
This commit is contained in:
@@ -82,9 +82,9 @@ public:
|
|||||||
* pointer.
|
* pointer.
|
||||||
*/
|
*/
|
||||||
element_ptr get() {
|
element_ptr get() {
|
||||||
boost::lock_guard<boost::recursive_mutex> lock(m_lock);
|
|
||||||
|
|
||||||
element_ptr p, q;
|
element_ptr p, q;
|
||||||
|
{
|
||||||
|
boost::lock_guard<boost::recursive_mutex> lock(m_lock);
|
||||||
|
|
||||||
/*std::cout << "message requested ("
|
/*std::cout << "message requested ("
|
||||||
<< m_cur_elements-m_avaliable.size()
|
<< m_cur_elements-m_avaliable.size()
|
||||||
@@ -113,6 +113,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
p->set_live();
|
p->set_live();
|
||||||
|
}
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
void recycle(element_ptr p) {
|
void recycle(element_ptr p) {
|
||||||
|
|||||||
Reference in New Issue
Block a user