Module Name: src
Committed By: jruoho
Date: Fri Jul 9 17:15:59 UTC 2010
Modified Files:
src/lib/libpthread: pthread_attr_getstack.3
Log Message:
Note also alignment via mmap(2), as done in NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_attr_getstack.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_attr_getstack.3
diff -u src/lib/libpthread/pthread_attr_getstack.3:1.4 src/lib/libpthread/pthread_attr_getstack.3:1.5
--- src/lib/libpthread/pthread_attr_getstack.3:1.4 Fri Jul 9 12:00:38 2010
+++ src/lib/libpthread/pthread_attr_getstack.3 Fri Jul 9 17:15:59 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getstack.3,v 1.4 2010/07/09 12:00:38 jruoho Exp $
+.\" $NetBSD: pthread_attr_getstack.3,v 1.5 2010/07/09 17:15:59 jruoho Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <[email protected]>
.\" All rights reserved.
@@ -119,6 +119,9 @@
and the use of
.Xr posix_memalign 3
may guarantee some degree of portability.
+Also
+.Xr mmap 2
+provides means for alignment.
.It
If the application modifies the stack address, it claims also
the responsibility of allocating the stack area and guarding it against