Re: CLONE_DETACHED and exit notification (was user-vm-unlock-2.5.31-A2)

Ingo Molnar (mingo@elte.hu)
Fri, 16 Aug 2002 19:47:07 +0200 (CEST)


the only (small) overhead is associated to truly detached
(PTHREAD_CREATE_DETACHED) threads, but the more important usage is when a
thread is created and joined, with some status code passed along. And even
in the PTHREAD_CREATE_DETACHED case, most usages just never terminate the
thread. So the high-frequency thread creation/destruction always happens
via some sort of joining method.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/