Ticket #4641 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Make a "safe" QwtPlot super class

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: #4516 Tester: Roman Tolchenov

Description

Make a class called QwtSafePlot, which will inherit from QwtPlot but:

  • Have an workspace associated to it
  • Will acquire a read-only lock to the workspace when drawing
  • Overrides drawCanvas() with this lock.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Janik Zikovsky

Refs #4641 thread-safe QwtPlot replacement

Also refs #4516, using this safeqwtPlot in SliceViewer looks to make it impossible to segfault

Changeset: 26737997bcb8a92a02026290440a266dff22cd0d

comment:3 Changed 9 years ago by Janik Zikovsky

Refs #4641 some comments

Changeset: 5f98e6d69da762a8bd9f76789ec17299243a65db

comment:4 Changed 9 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:5 Changed 8 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:6 Changed 8 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Examined the code.

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5488

Note: See TracTickets for help on using tickets.