pocketzeroes/pipeviewer

fix cursor positioning (-c) to use semaphores instead of locking

Closed this issue · 1 comments

Currently, the cursor positioning code uses locking on the terminal, or a
lockfile when O_EXLOCK is unavailable, to manage concurrent access so that
the different instances of pv can all output to the same terminal.

Instead of using this method a semaphore or other shared memory type
solution should be used, since shared memory is already being used for
other aspects of the cursor positioning code anyway and it would be cleaner
than relying on file locks.

Original issue reported on code.google.com by ivarch...@gmail.com on 19 Feb 2007 at 1:36

Removing from Google Code as this is no longer an active platform for this 
project.

Original comment by ivarch...@gmail.com on 26 Aug 2014 at 10:11

  • Changed state: Done