mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-15 12:08:04 +02:00
GDBusWorker: Improve struct packing
This commit is contained in:
parent
9890c03579
commit
53e3e111fd
@ -399,10 +399,10 @@ struct GDBusWorker
|
|||||||
* only user) - we might want it to affect messages sent to the other peer too?
|
* only user) - we might want it to affect messages sent to the other peer too?
|
||||||
*/
|
*/
|
||||||
gboolean frozen;
|
gboolean frozen;
|
||||||
|
GDBusCapabilityFlags capabilities;
|
||||||
GQueue *received_messages_while_frozen;
|
GQueue *received_messages_while_frozen;
|
||||||
|
|
||||||
GIOStream *stream;
|
GIOStream *stream;
|
||||||
GDBusCapabilityFlags capabilities;
|
|
||||||
GCancellable *cancellable;
|
GCancellable *cancellable;
|
||||||
GDBusWorkerMessageReceivedCallback message_received_callback;
|
GDBusWorkerMessageReceivedCallback message_received_callback;
|
||||||
GDBusWorkerMessageAboutToBeSentCallback message_about_to_be_sent_callback;
|
GDBusWorkerMessageAboutToBeSentCallback message_about_to_be_sent_callback;
|
||||||
@ -425,9 +425,9 @@ struct GDBusWorker
|
|||||||
gint read_num_ancillary_messages;
|
gint read_num_ancillary_messages;
|
||||||
|
|
||||||
/* used for writing */
|
/* used for writing */
|
||||||
|
gint num_writes_pending;
|
||||||
GMutex *write_lock;
|
GMutex *write_lock;
|
||||||
GQueue *write_queue;
|
GQueue *write_queue;
|
||||||
gint num_writes_pending;
|
|
||||||
guint64 write_num_messages_written;
|
guint64 write_num_messages_written;
|
||||||
GList *write_pending_flushes;
|
GList *write_pending_flushes;
|
||||||
gboolean flush_pending;
|
gboolean flush_pending;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user