libcamera: object: Notify objects of thread move
Send a synchronous message to objects just before they get moved to a new thread. This allows the object to perform any required processing. EventNotifier and Timer objects will use this mechanism to move themselves to the new thread's event disaptcher. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -52,6 +52,8 @@ private:
|
||||
|
||||
void invokeMethod(BoundMethodBase *method, void *pack);
|
||||
|
||||
void notifyThreadMove();
|
||||
|
||||
void connect(SignalBase *signal);
|
||||
void disconnect(SignalBase *signal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user