Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Class ThreadMutex
#include <
NfcAdaptation.h
>
Diwarisi oleh
ThreadCondVar
.
Definisi di baris
28
file
NfcAdaptation.h
.
operator pthread_mutex_t *
|
(
|
|
)
|
|
|
inline
|
Dokumentasi untuk class ini dibuat dari file berikut:
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]