The "too small to fail" memory-allocation rule
The "too small to fail" memory-allocation rule
Posted Dec 30, 2014 0:04 UTC (Tue) by klossner (subscriber, #30046)In reply to: The "too small to fail" memory-allocation rule by ibukanov
Parent article: The "too small to fail" memory-allocation rule
By "create a new thread" do you mean call pthread_create? That just ends up in do_fork(), which creates a new process with which to call vfork(), which ends up in do_fork() to create another new process. Safe, okay, but not really efficient.