Jump to content
Ind

mempool discussion

Recommended Posts

currently this mempool implementation sirius black has added is not used so it wastes the thread it creates on server boot and is broken, for example

if(p->num_nodes_free < p->elem_realloc_thresh)
	racond_signal(l_async_cond);

if the free nodes are out and the spawner thread hasnt been run yet and you try to get another node it crashes the main thread.

Do we get rid of it? is it there any point in it anymore(since greenbox has overhauled the ERS system)?

Link to comment
Share on other sites

I understand it was designed to be thread safe, but at its current stage it is not -- nevertheless you have a good point.

Link to comment
Share on other sites

I'll follow-up with SB on this, and if he has intentions of [truly] finishing this... we'll update the thread 'Rejected'. Otherwise, I'm going to accept the removal.

Link to comment
Share on other sites



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.