diff options
Diffstat (limited to 'include/sys/rrwlock.h')
-rw-r--r-- | include/sys/rrwlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/rrwlock.h b/include/sys/rrwlock.h index 798a015d1..8fde3a3be 100644 --- a/include/sys/rrwlock.h +++ b/include/sys/rrwlock.h @@ -22,6 +22,9 @@ * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012 by Delphix. All rights reserved. + */ #ifndef _SYS_RR_RW_LOCK_H #define _SYS_RR_RW_LOCK_H @@ -69,6 +72,7 @@ void rrw_destroy(rrwlock_t *rrl); void rrw_enter(rrwlock_t *rrl, krw_t rw, void *tag); void rrw_exit(rrwlock_t *rrl, void *tag); boolean_t rrw_held(rrwlock_t *rrl, krw_t rw); +void rrw_tsd_destroy(void *arg); #define RRW_READ_HELD(x) rrw_held(x, RW_READER) #define RRW_WRITE_HELD(x) rrw_held(x, RW_WRITER) |