Thread and ofNotifyEvent

Hello

Is safe to call ofNotifyEvent inside a threadedFunction ??

class hotKey: public ofThread{

           void threadedFunction(){
                      if(condition == true){
                                 ofNotifiEvent(evento,condition,this);
                      }
           }
};

Thanks

yes ofEvent and all the related functions are thread safe, you can also add / remove listeners from any thread safely

there’s an ofFastEvent type of event that is not thread safe

Thank you!