החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מידע על הכיתה ThreadMutex
#include <
NfcAdaptation.h
>
עוברת בירושה ל-
ThreadCondVar
.
ההגדרה מופיעה בשורה
28
בקובץ
NfcAdaptation.h
.
operator pthread_mutex_t *
|
(
|
|
)
|
|
|
מודעה בתוך הטקסט
|
המסמכים של הכיתה הזו נוצרו מהקובץ הבא:
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Android Hardware Abstraction Layer: ThreadMutex Class Reference\n\nThreadMutex Class Reference\n===========================\n\n[Public Member Functions](#pub-methods) \nThreadMutex 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\nInherited by\n[ThreadCondVar](/reference/hal/class_thread_cond_var)\n.\n\n|---------|-------------------------------------------------------------------------------------------------------|\n| Public Member Functions ----------------------- ||\n| | [ThreadMutex](/reference/hal/class_thread_mutex#a2fe97c1744053ae58a2f5ec01bc57061) () |\n| ||\n| virtual | [\\~ThreadMutex](/reference/hal/class_thread_mutex#a92c4a0452d458041a185d80c6e754a17) () |\n| ||\n| void | [lock](/reference/hal/class_thread_mutex#aa81aed607133209dade63a226818224d) () |\n| ||\n| void | [unlock](/reference/hal/class_thread_mutex#a9278be8203e1c42e2619179882ae4403) () |\n| ||\n| | [operator pthread_mutex_t \\*](/reference/hal/class_thread_mutex#a5c65e9165a9deaa82a088751b5057ed9) () |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[28](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| [ThreadMutex](/reference/hal/class_thread_mutex) | ( | | ) | |\n\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| |-------------------------------------------------------------|---|---|---|---| | virtual \\~ [ThreadMutex](/reference/hal/class_thread_mutex) | ( | | ) | | | virtual |\n\nMember Function Documentation\n-----------------------------\n\n\n|-----------|---|---|---|---|\n| void lock | ( | | ) | |\n\n\n|-------------------------------------------------------------------------------------------------|--------|\n| |-----------------------------|---|---|---|---| | operator pthread_mutex_t \\* | ( | | ) | | | inline |\n\n\nDefinition at line\n[35](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| void unlock | ( | | ) | |\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)"]]