Ags.ThreadApplicationContext

g Ags.ApplicationContext Ags.ApplicationContext Ags.ThreadApplicationContext Ags.ThreadApplicationContext Ags.ApplicationContext->Ags.ThreadApplicationContext Ags.ConcurrencyProvider Ags.ConcurrencyProvider Ags.ConcurrencyProvider->Ags.ThreadApplicationContext Ags.Connectable Ags.Connectable Ags.Connectable->Ags.ApplicationContext GObject.GInterface GObject.GInterface GObject.GInterface->Ags.ConcurrencyProvider GObject.GInterface->Ags.Connectable GObject.Object GObject.Object GObject.Object->Ags.ApplicationContext

Subclasses:

None

Methods

Inherited:

Ags.ApplicationContext (10), GObject.Object (37), Ags.Connectable (13), Ags.ConcurrencyProvider (8)

Structs:

GObject.ObjectClass (5)

class

new ()

class

register_types (application_context)

Virtual Methods

Inherited:

Ags.ApplicationContext (5), GObject.Object (7), Ags.Connectable (13), Ags.ConcurrencyProvider (8)

Properties

Inherited:

Ags.ApplicationContext (4)

Name

Type

Flags

Short Description

thread-pool

Ags.ThreadPool

r/w

The thread pool which this thread application context assigned to

Signals

Inherited:

Ags.ApplicationContext (5), GObject.Object (1)

Fields

Inherited:

Ags.ApplicationContext (5), GObject.Object (1)

Name

Type

Access

Description

application_context

Ags.ApplicationContext

r

build_id

str

r

flags

int

r

thread_pool

Ags.ThreadPool

r

version

str

r

worker

[object]

r

Class Details

class Ags.ThreadApplicationContext(**kwargs)
Bases:

Ags.ApplicationContext, Ags.ConcurrencyProvider

Abstract:

No

Structure:

Ags.ThreadApplicationContextClass

classmethod new()
Returns:

the new Ags.ThreadApplicationContext

Return type:

Ags.ThreadApplicationContext

Create a new instance of Ags.ThreadApplicationContext.

New in version 3.0.0.

classmethod register_types(application_context)
Parameters:

application_context (Ags.ApplicationContext) –

Property Details

Ags.ThreadApplicationContext.props.thread_pool
Name:

thread-pool

Type:

Ags.ThreadPool

Default Value:

None

Flags:

READABLE, WRITABLE

The assigned thread pool.

New in version 3.0.0.