Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Note also alignment via mmap(2), as done in N...



details:   https://anonhg.NetBSD.org/src/rev/dba70dd564c3
branches:  trunk
changeset: 756256:dba70dd564c3
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Jul 09 17:15:59 2010 +0000

description:
Note also alignment via mmap(2), as done in NetBSD.

diffstat:

 lib/libpthread/pthread_attr_getstack.3 |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b6426c00cdbb -r dba70dd564c3 lib/libpthread/pthread_attr_getstack.3
--- a/lib/libpthread/pthread_attr_getstack.3    Fri Jul 09 17:03:04 2010 +0000
+++ b/lib/libpthread/pthread_attr_getstack.3    Fri Jul 09 17:15:59 2010 +0000
@@ -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 <jruohonen%iki.fi@localhost>
 .\" 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



Home | Main Index | Thread Index | Old Index