Print this page
11586 NAME field in man pages should match what's installed

*** 9,25 **** .\" http://www.illumos.org/license/CDDL. .\" .\" .\" Copyright 2016 Joyent, Inc. .\" ! .Dd "Jan 11, 2015" .Dt TSS 3C .Os .Sh NAME .Nm tss , .Nm tss_create , ! .Nm tss_destroy , .Nm tss_get , .Nm tss_set .Nd thread-specific storage .Sh SYNOPSIS .In threads.h --- 9,25 ---- .\" http://www.illumos.org/license/CDDL. .\" .\" .\" Copyright 2016 Joyent, Inc. .\" ! .Dd "Aug 20, 2019" .Dt TSS 3C .Os .Sh NAME .Nm tss , .Nm tss_create , ! .Nm tss_delete , .Nm tss_get , .Nm tss_set .Nd thread-specific storage .Sh SYNOPSIS .In threads.h
*** 45,55 **** .Sh DESCRIPTION The .Sy tss family of functions create, get, set, and destroy thread-specific storage. ! .Ss Creating and Destorying Thread-Specific Storage The .Fn tss_create function creates a new thread-specific data key. The key space is opaque and global to all threads in the process. Each thread has its own value-space which can be manipulated with the --- 45,55 ---- .Sh DESCRIPTION The .Sy tss family of functions create, get, set, and destroy thread-specific storage. ! .Ss Creating and Destroying Thread-Specific Storage The .Fn tss_create function creates a new thread-specific data key. The key space is opaque and global to all threads in the process. Each thread has its own value-space which can be manipulated with the
*** 56,66 **** .Fn tss_get and .Fn tss_set functions. A given key persists until ! .Fn tss_destroy is called. .Pp When a key is created, the value .Dv NULL is associated with all current threads. --- 56,66 ---- .Fn tss_get and .Fn tss_set functions. A given key persists until ! .Fn tss_delete is called. .Pp When a key is created, the value .Dv NULL is associated with all current threads.
*** 86,99 **** from the global name-space. When a key is deleted, no registered destructor is called, it is up to the calling program to free any storage that was associated with .Fa key across all threads. ! Because of this propety, it is legal to call .Fn tss_delete from inside a destructor. ! Any destructors that had been assocaited with .Fa key will no longer be called when a thread terminates. .Ss Obtaining Values The .Fn tss_get --- 86,99 ---- from the global name-space. When a key is deleted, no registered destructor is called, it is up to the calling program to free any storage that was associated with .Fa key across all threads. ! Because of this property, it is legal to call .Fn tss_delete from inside a destructor. ! Any destructors that had been associated with .Fa key will no longer be called when a thread terminates. .Ss Obtaining Values The .Fn tss_get
*** 108,118 **** .Ss Setting Values The .Fn tss_set function sets the value of the key .Fa key ! for the callling thread to .Fa value , which may be obtained by subsequent calls to .Fa tss_get . To remove a value for a specific thread, one may pass .Dv NULL --- 108,118 ---- .Ss Setting Values The .Fn tss_set function sets the value of the key .Fa key ! for the calling thread to .Fa value , which may be obtained by subsequent calls to .Fa tss_get . To remove a value for a specific thread, one may pass .Dv NULL