ipcmd: a command-line interface to System V semaphores and message queues
Article first published online: 29 JAN 2013
Copyright © 2013 John Wiley & Sons, Ltd.
Concurrency and Computation: Practice and Experience
Volume 26, Issue 2, pages 396–411, February 2014
How to Cite
Weeks, N. T., Kraeva, M. and Luecke, G. R. (2014), ipcmd: a command-line interface to System V semaphores and message queues. Concurrency Computat.: Pract. Exper., 26: 396–411. doi: 10.1002/cpe.3001
- Issue published online: 17 JAN 2014
- Article first published online: 29 JAN 2013
- Manuscript Accepted: 22 DEC 2012
- Manuscript Revised: 5 DEC 2012
- Manuscript Received: 2 SEP 2012
- message queues
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.