justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Which methods in IReaperControlSurface are never reentered by REAPER? For example I suspect that with SetTrackListChange(), the following can happen: REAPER invokes SetTrackListChange() => I call InsertTrackAtIndex() in this method => REAPER inserts the track and immediately invokes SetTrackListChange() again without waiting for the next main loop cycle (= "reentering"). I suspect for example Run() to be never reentered because it is simply called once per main loop cycle. But are there any other methods fo
Asked by helgoboss (2.206.26.x) on February 2 2020, 1:59pm
Reply on February 3 2020, 3:58am:
    There are various checks to prevent reentrancy from causing problems, but it's probably a good idea to avoid modifying projects from within notifications of the project having changed. e.g. only modify things in response to user action, etc.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS