Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Note limited extent for reference to the pser...
details: https://anonhg.NetBSD.org/src/rev/494433fa4233
branches: trunk
changeset: 343238:494433fa4233
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jan 26 01:09:56 2016 +0000
description:
Note limited extent for reference to the pserialized object.
diffstat:
share/man/man9/pserialize.9 | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r c14bdcfa4009 -r 494433fa4233 share/man/man9/pserialize.9
--- a/share/man/man9/pserialize.9 Tue Jan 26 01:05:17 2016 +0000
+++ b/share/man/man9/pserialize.9 Tue Jan 26 01:09:56 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pserialize.9,v 1.11 2016/01/26 01:05:17 riastradh Exp $
+.\" $NetBSD: pserialize.9,v 1.12 2016/01/26 01:09:56 riastradh Exp $
.\"
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -117,6 +117,13 @@
/* Fetch f before we fetch anything f points to. */
membar_datadep_consumer();
if (f->f_... == key) {
+ /*
+ * Grab whatever part of the frotz we need.
+ * Note that we can't use the frotz after
+ * pserialize_read_exit, without a stronger
+ * kind of reference, say a reference count
+ * managed by atomic_ops(3).
+ */
*resultp = f->f_...;
error = 0;
break;
Home |
Main Index |
Thread Index |
Old Index