Field

Ticket #8 (assigned enhancement)

Opened 1 year ago

Last modified 1 year ago

Investigate placing main graphics renderer into a new, non-event thread

Reported by: marc Assigned to: marc (accepted)
Priority: minor Milestone: rc1
Component: core Version:
Keywords: Cc:

Description (Last modified by marc)

This would require:

  • updateables &c in Launcher being pseudo-ThreadLocal? (we'd need to be be able to search for them by thread)
  • for python to take a critical section in its interpreter, so that any code that it executes could touch the rendering thread.

But, we'd have to make sure that any iUpdatebles that got registered get registered in the correct thread (this could be problematic for things like animations). Perhaps begin/endExecutes could be driven from the main renderer, with the main renderer thread being blocked, waiting for the Field thread to complete one update (but not it's repaint).

It's also possible this is needed / would help with interfacing to Processing's direct drive threading model.

Change History

01/20/2008 11:44:58 AM changed by marc

  • status changed from new to assigned.
  • description changed.
  • component set to core.
  • priority set to blocker.
  • milestone set to rc1.
  • type set to defect.

01/20/2008 11:45:10 AM changed by marc

  • type changed from defect to enhancement.

02/05/2008 09:30:19 PM changed by marc

  • priority changed from blocker to minor.

Actually ProcessingPlugin didn't need it.