summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-11-14 01:24:52 +0000
committerrwatson <rwatson@FreeBSD.org>2008-11-14 01:24:52 +0000
commitea0b860502bbb6c24b2c4f853c2d4c97e5d96f2b (patch)
treef4dda4b865cb4380c2d7ee549196f94554aaa671 /bin
parentcbf9e0a3f94f230c45edb13092f4b4b0ae60342a (diff)
downloadFreeBSD-src-ea0b860502bbb6c24b2c4f853c2d4c97e5d96f2b.zip
FreeBSD-src-ea0b860502bbb6c24b2c4f853c2d4c97e5d96f2b.tar.gz
When repeatedly accessing a thread credential, cache the credential
pointer in a local thread. While this is unlikely to significantly improve performance given modern compiler behavior, it makes the code more readable and reduces diffs to the Mac OS X version of the same code (which stores things in creds in the same way, but where the cred for a thread is reached quite differently). Discussed with: sson MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud