Thread

class Thread(*args, **kwargs)
Constructors:

Thread()
new(name:str=None, func:GLib.ThreadFunc, data=None) -> GLib.Thread
try_new(name:str=None, func:GLib.ThreadFunc, data=None) -> GLib.Thread

Constructors

class Thread
classmethod new(name: str | None, func: Callable[[...], None], *data: Any) Thread
Parameters:
  • name

  • func

  • data

classmethod try_new(name: str | None, func: Callable[[...], None], *data: Any) Thread
Parameters:
  • name

  • func

  • data

Methods

class Thread
error_quark() int
exit(retval: None) None
Parameters:

retval

join() None
self() Thread
yield_() None

Fields

class Thread
data
func
joinable
priority