gdesk.gcore.threadcom module

class gdesk.gcore.threadcom.HandOver(parent)

Bases: PySide2.QtCore.QObject

receive()

Receive returnlock, func, args, kwargs from signal_call_queue

send(block=True, func=None, *args, **kwargs)
Parameters
  • block – wait on the func to return

  • func – the reference to the function to be called by the eventloop

  • *args – unnamed arguments for the function

  • **kwargs – key word arguments for the function

staticMetaObject = <PySide2.QtCore.QMetaObject object>
class gdesk.gcore.threadcom.ReturnLock

Bases: object

Lock and return value object used to pass the return value on SignalCalls.

locked()
releaseReturn(value)
waitOnReturn()