自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
AutoThreadMutex 类参考
#include <
NfcAdaptation.h
>
operator pthread_mutex_t *
|
(
|
|
)
|
|
|
内嵌
|
此类的文档是根据以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Android Hardware Abstraction Layer: AutoThreadMutex Class Reference\n\nAutoThreadMutex Class Reference\n===============================\n\n[Public Member Functions](#pub-methods) \nAutoThreadMutex Class Reference \n\n`\n#include \u003c\n`[NfcAdaptation.h](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)`\n\u003e\n`\n\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| Public Member Functions ----------------------- ||\n| | [AutoThreadMutex](/reference/hal/class_auto_thread_mutex#ad1a6144d5b070810f7adfa612f1fd906) ( [ThreadMutex](/reference/hal/class_thread_mutex) \\&m) |\n| ||\n| virtual | [\\~AutoThreadMutex](/reference/hal/class_auto_thread_mutex#a6b3e130c1457f9be19b71a6d4db162a1) () |\n| ||\n| | [operator ThreadMutex \\&](/reference/hal/class_auto_thread_mutex#a9b36c154ef8ce09e58962b89b52a707d) () |\n| ||\n| | [operator pthread_mutex_t \\*](/reference/hal/class_auto_thread_mutex#a5c65e9165a9deaa82a088751b5057ed9) () |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[53](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\nof file\n[NfcAdaptation.h](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\n.\n\nConstructor \\& Destructor Documentation\n---------------------------------------\n\n\n|-----------------------------------------------------------|---|-----------------------------------------------------|-----|---|---|\n| [AutoThreadMutex](/reference/hal/class_auto_thread_mutex) | ( | [ThreadMutex](/reference/hal/class_thread_mutex) \\& | *m* | ) | |\n\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| |----------------------------------------------------------------------|---|---|---|---| | virtual \\~ [AutoThreadMutex](/reference/hal/class_auto_thread_mutex) | ( | | ) | | | virtual |\n\nMember Function Documentation\n-----------------------------\n\n\n|-------------------------------------------------------------------------------------------------|--------|\n| |-----------------------------|---|---|---|---| | operator pthread_mutex_t \\* | ( | | ) | | | inline |\n\n\nDefinition at line\n[59](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\nof file\n[NfcAdaptation.h](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\n.\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|\n| |--------------------------------------------------------------|---|---|---|---| | operator [ThreadMutex](/reference/hal/class_thread_mutex) \\& | ( | | ) | | | inline |\n\n\nDefinition at line\n[58](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\nof file\n[NfcAdaptation.h](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this class was generated from the following file:\n\n- external/libnfc-nci/src/include/ [NfcAdaptation.h](https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/NfcAdaptation.h)"]]