mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01: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?
|
||||
*/
|
||||
gboolean frozen;
|
||||
GDBusCapabilityFlags capabilities;
|
||||
GQueue *received_messages_while_frozen;
|
||||
|
||||
GIOStream *stream;
|
||||
GDBusCapabilityFlags capabilities;
|
||||
GCancellable *cancellable;
|
||||
GDBusWorkerMessageReceivedCallback message_received_callback;
|
||||
GDBusWorkerMessageAboutToBeSentCallback message_about_to_be_sent_callback;
|
||||
@ -425,9 +425,9 @@ struct GDBusWorker
|
||||
gint read_num_ancillary_messages;
|
||||
|
||||
/* used for writing */
|
||||
gint num_writes_pending;
|
||||
GMutex *write_lock;
|
||||
GQueue *write_queue;
|
||||
gint num_writes_pending;
|
||||
guint64 write_num_messages_written;
|
||||
GList *write_pending_flushes;
|
||||
gboolean flush_pending;
|
||||
|
Loading…
Reference in New Issue
Block a user