mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 00:13:40 +02:00
GDBus: Use Skeleton instead of Stub
After some brainstorming with Simon, see https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -1384,22 +1384,22 @@ typedef enum {
|
||||
} GTlsRehandshakeMode;
|
||||
|
||||
/**
|
||||
* GDBusInterfaceStubFlags:
|
||||
* @G_DBUS_INTERFACE_STUB_FLAGS_NONE: No flags set.
|
||||
* @G_DBUS_INTERFACE_STUB_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: Each method invocation is handled in
|
||||
* GDBusInterfaceSkeletonFlags:
|
||||
* @G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: No flags set.
|
||||
* @G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: Each method invocation is handled in
|
||||
* a thread dedicated to the invocation. This means that the method implementation can use blocking IO
|
||||
* without blocking any other part of the process. It also means that the method implementation must
|
||||
* use locking to access data structures used by other threads.
|
||||
*
|
||||
* Flags describing the behavior of a #GDBusInterfaceStub class.
|
||||
* Flags describing the behavior of a #GDBusInterfaceSkeleton instance.
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
G_DBUS_INTERFACE_STUB_FLAGS_NONE = 0,
|
||||
G_DBUS_INTERFACE_STUB_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD = (1<<0)
|
||||
} GDBusInterfaceStubFlags;
|
||||
G_DBUS_INTERFACE_SKELETON_FLAGS_NONE = 0,
|
||||
G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD = (1<<0)
|
||||
} GDBusInterfaceSkeletonFlags;
|
||||
|
||||
/**
|
||||
* GDBusObjectManagerClientFlags:
|
||||
|
Reference in New Issue
Block a user