diff options
author | phantom <phantom@FreeBSD.org> | 2003-02-13 18:39:06 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2003-02-13 18:39:06 +0000 |
commit | bd72cf9687deb05d7da0fc117b07fca6dbed3c04 (patch) | |
tree | 62fd8967d646e0e976dc13339e80b91043a26c10 /share | |
parent | 46b03b876816c02e102ca1c43433ff9f378d360f (diff) | |
download | FreeBSD-src-bd72cf9687deb05d7da0fc117b07fca6dbed3c04.zip FreeBSD-src-bd72cf9687deb05d7da0fc117b07fca6dbed3c04.tar.gz |
Break important implementation detail note into IMPLEMENTATION DETAILS
section. Add cross reference to pthread_attr_getstack() function.
MFC after: 1 day
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man3/pthread_attr_get_np.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/share/man/man3/pthread_attr_get_np.3 b/share/man/man3/pthread_attr_get_np.3 index 78c8fdf..b14dd23 100644 --- a/share/man/man3/pthread_attr_get_np.3 +++ b/share/man/man3/pthread_attr_get_np.3 @@ -46,9 +46,6 @@ structure are exact values of attributes provided at thread creation time (as parameter to .Fn pthread_create function), except stack address. -.Fn pthread_attr_get_np -will always return pointer to thread's real stack address regardless -to its value in original attributes structure. .Pp Value returned as .Fa dst @@ -60,9 +57,15 @@ structure. Parameter .Fa dst should point to allocated memory area big enough to fit this structure. +.Pp It is HIGHLY RECOMMENDED to use .Xr pthread_attr_init 3 function to allocate attribute storage. +.Sh IMPLEMENTATION DETAILS +The +.Fn pthread_attr_get_np +function will always return pointer to thread's real stack address +regardless to its value in original attributes structure. .Sh EXAMPLES .Bd -literal size_t @@ -100,6 +103,7 @@ thread ID. .Xr pthread_attr_getschedparam 3 , .Xr pthread_attr_getschedpolicy 3 , .Xr pthread_attr_getscope 3 , +.Xr pthread_attr_getstack 3 , .Xr pthread_attr_getstackaddr 3 , .Xr pthread_attr_getstacksize 3 , .Xr pthread_attr_init 3 |