Premium
ipcmd: a command‐line interface to System V semaphores and message queues
Author(s) -
Weeks Nathan T.,
Kraeva Marina,
Luecke Glenn R.
Publication year - 2014
Publication title -
concurrency and computation: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.309
H-Index - 67
eISSN - 1532-0634
pISSN - 1532-0626
DOI - 10.1002/cpe.3001
Subject(s) - semaphore , computer science , concurrency , interface (matter) , message queue , debugging , operating system , queue , synchronizing , debugger , process (computing) , parallel computing , embedded system , programming language , telecommunications , bubble , maximum bubble pressure method , transmission (telecommunications)
SUMMARY Concurrent programming has become a common means to harness the potential performance of multi‐core processors. System V (SysV) message queues and semaphores have been used since the mid 1970s to implement inter‐process concurrency, but they are difficult to use, and bindings exist for few programming languages. This paper introduces ipcmd , a high‐level command‐line interface to SysV message queues and semaphores. ipcmd provides an easy‐to‐use interface for synchronizing concurrent processes to allow application developers to efficiently prototype, debug, and test the use of SysV semaphores and message queues in applications. Easy‐to‐understand applications of semaphores are illustrated using simple shell scripts. Copyright © 2013 John Wiley & Sons, Ltd.