Cuberite Forum
MCServer is multi-thread ? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: MCServer is multi-thread ? (/thread-1784.html)



MCServer is multi-thread ? - Creaprog - 02-16-2015

Hello,

My question : MCServer is multi-thread ?


RE: MCServer is multi-thread ? - xoft - 02-16-2015

Of course it is.


RE: MCServer is multi-thread ? - bearbin - 02-16-2015

Yep Smile

It can use lots of cores.


RE: MCServer is multi-thread ? - NiLSPACE - 02-16-2015

@bearbin I thought it could only use 2 cores. One for saving worlds and one for the rest.


RE: MCServer is multi-thread ? - bearbin - 02-16-2015

I'm pretty sure there are loads of threads - one per world at least, and more for network, tick and other stuff.

But I could be wrong, so please do correct me.


RE: MCServer is multi-thread ? - NiLSPACE - 02-16-2015

As far as I know a different thread doesn't mean a different core, but I could be wrong as well Wink


RE: MCServer is multi-thread ? - LogicParrot - 02-16-2015

Yes it does.

More details: https://programmers.stackexchange.com/questions/181157/how-to-program-thread-allocation-on-multicore-processors