[RFC PATCH 1/1] pthread_detach.3: remove invalid and confusing statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In notes section, statement

"(But note that the resources of all threads are freed when the
process terminates.)"

is confusing and invalid. In Linux, we don't really need to wait
until application termination for system resources to be freed unless
there is bug in application logic.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@xxxxxxxxx>
---
 man3/pthread_detach.3 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/man3/pthread_detach.3 b/man3/pthread_detach.3
index 106914b..2c53409 100644
--- a/man3/pthread_detach.3
+++ b/man3/pthread_detach.3
@@ -101,8 +101,6 @@ or
 .BR pthread_detach ()
 should be called for each thread that an application creates,
 so that system resources for the thread can be released.
-(But note that the resources of all threads are freed when the
-process terminates.)
 .SH EXAMPLE
 The following statement detaches the calling thread:
 
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux