• DocumentCode
    2511949
  • Title

    Implementation of reader-writer locks based on multimedia DSP

  • Author

    Hu, Yi ; Guan, Qing ; Fu, Hua ; Han, Liang

  • Author_Institution
    Sch. of Commun. & Inf. Eng., Univ. of Electron. Sci. & Technol. of China, Chengdu, China
  • fYear
    2011
  • fDate
    21-23 Oct. 2011
  • Firstpage
    296
  • Lastpage
    299
  • Abstract
    With the structure of Digital Signal Processor (DSP) application program getting more complex, there is a rise in the need for concurrent access to shared resources under a multitasking environment. However, the task scheduling and synchronization provided by most of the DSP operating systems is quite limited, which can barely meet the requirement of the control of concurrent access. At present, reader-writer (RW) locks have been in wide-spread use for many POSIX-compliant real-time operating systems to provide currency control, but they can not be applied to DSP operating systems without any change. In this paper, a locking system is proposed as a realization form of RW locks, which provides control of concurrent access based on the Application Programming Interface (API) in DSP operating systems. Meanwhile, to avoid the occurrence of priority inversion and livelock, an enhanced compatibility matrix working with priority inheritance protocol is introduced in this system. The experimental result shows that the locking system can function properly under a multitasking environment, and its performance is superior to that of the traditional one using strict mutual exclusive (mutex) matrix.
  • Keywords
    Unix; application program interfaces; matrix algebra; multimedia systems; scheduling; signal processing; synchronisation; POSIX compliant real time operating systems; application programming interface; compatibility matrix; digital signal processor application program; multimedia DSP; mutual exclusive matrix; priority inheritance protocol; reader-writer locks; synchronization; task scheduling; Digital signal processing; Instruments; Kernel; Linux; Protocols; Real time systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computational Problem-Solving (ICCP), 2011 International Conference on
  • Conference_Location
    Chengdu
  • Print_ISBN
    978-1-4577-0602-8
  • Electronic_ISBN
    978-1-4577-0601-1
  • Type

    conf

  • DOI
    10.1109/ICCPS.2011.6092283
  • Filename
    6092283