« Previous | Next » 

Revision 9dc47292

ID9dc472923147564eb20794350da9d8e57bcf92c1
Parent 22c828a9
Child 5fb7679c

Added by Hrvoje Ribicic about 10 years ago

Make gnt-debug delay interruptible

The gnt-debug delay command could be useful as a means of acquiring
locks for testing purposes. In practice, to be useful it should be
interruptible, otherwise we risk race conditions or long delays.

This patch follows the examples of the move-instance command and the
gnt-debug test-jobqueue commands, and introduces a mechanism for
communicating with the delay command, allowing it to be interrupted
early.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Petr Pudlak <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences