SciRepID - Perbandingan Mekanisme Sinkronisasi Mutex dan Semaphore pada Sistem Operasi Android


Perbandingan Mekanisme Sinkronisasi Mutex dan Semaphore pada Sistem Operasi Android

Polygon : Jurnal Ilmu Komputer dan Ilmu Pengetahuan Alam
Asosiasi Riset Ilmu Matematika dan Sains Indonesia (ARIMSI)

📄 Abstract

The synchronization of mutex and semaphore mechanisms is an important technique in operating systems for managing concurrent resource access in multi-threaded environments. In the Android operating system, which relies on thread-based programming to maintain performance and responsiveness, these two mechanisms play a vital role in preventing race conditions and ensuring data integrity. A mutex is a locking object that ensures that only one thread can access a specific resource at a time, while a semaphore controls access to a limited number of resources by counting the number of threads that can access them simultaneously. In Android, these mechanisms are implemented using the Lock class for mutexes and the Semaphore class for semaphores, both of which can be used to control synchronization between threads in Android applications. This paper will discuss the application of these two mechanisms in the context of shared resource management, as well as a comparison of their performance and advantages in dealing with complex multi-threading scenarios on Android. Emphasis will also be placed on the challenges faced in using these two mechanisms in Android applications, as well as how proper programming can avoid deadlocks and improve application efficiency.

🔖 Keywords

#Android; Concurrency; Deadlock Prevention; Mutex; Semaphore

ℹ️ Informasi Publikasi

Tanggal Publikasi
29 October 2025
Volume / Nomor / Tahun
Volume 3, Nomor 6, Tahun 2025

📝 HOW TO CITE

Ghaniyah Latifa Putri; Rasya Mulki Putra; Harits Rahadi, "Perbandingan Mekanisme Sinkronisasi Mutex dan Semaphore pada Sistem Operasi Android," Polygon : Jurnal Ilmu Komputer dan Ilmu Pengetahuan Alam, vol. 3, no. 6, Oct. 2025.

ACM
ACS
APA
ABNT
Chicago
Harvard
IEEE
MLA
Turabian
Vancouver

🔗 Artikel Terkait dari Jurnal yang Sama

📊 Statistik Sitasi Jurnal

Tren Sitasi per Tahun