I was wondering if i could get a bit more information on WaitableEvents? Currently i’m using them to sync a recording to a metronome, so that way the recording is always a number of bars length. I have a record function that is activated when the record button is pressed and this then waits on a waitableEvent until the metronome signals the event at the start of a bar and this all works fine. However is it possible to have multiple functions waiting on a single waitableEvent, because at the moment if i try to activate 2 of these record functions the first one will activate at the start of the bar and the second one will wait until the start of the next bar.
On a side note i’m changing the colour of the record button while it waits to activate and this worked fine while the code was placed in a thread. However as it wasn’t necessary for the code to be in a thread i moved it to a function. The waitableEvents still work fine but the colour updates don’t work. I’m using a actionBroadcaster to update the colour. Is there any reason for this?