1 post karma · 3 comment karma · joined Jan 2017
There's not a ton of difference on Linux these days since everything is converging toward clone underneath. But pthread_create is still a little faster, since it's a more or less a subset of what fork needs to do.
clone
pthread_create
fork
Don't worry, they don't actually use this in production.
There's not a ton of difference on Linux these days since everything is converging toward
cloneunderneath. Butpthread_createis still a little faster, since it's a more or less a subset of whatforkneeds to do.