हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ThreadMutex क्लास का रेफ़रंस
#include <
NfcAdaptation.h
>
इसे
ThreadCondVar
से इनहेरिट किया जाता है.
परिभाषा,
NfcAdaptation.h
की फ़ाइल के
28
पंक्ति पर दी गई है.
ऑपरेटर 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)"]]