RPi Locator and Display Services
MessageQueueSource Struct Reference
+ Collaboration diagram for MessageQueueSource:

Data Fields

GSource parent
 
GAsyncQueue * queue
 
GDestroyNotify destroy_message
 

Detailed Description

MessageQueueSource:

Ref: https://developer.gnome.org/gnome-devel-demos/stable/custom-gsource.c.html.en

This is a #GSource which wraps a #GAsyncQueue and is dispatched whenever a message can be pulled off the queue. Messages can be enqueued from any thread.

The callbacks dispatched by a MessageQueueSource have type MessageQueueSourceFunc.

MessageQueueSource supports adding a #GCancellable child source which will additionally dispatch if a provided #GCancellable is cancelled.

Definition at line 221 of file gtkDS.c.

Field Documentation

GDestroyNotify MessageQueueSource::destroy_message

Definition at line 224 of file gtkDS.c.

Referenced by message_queue_source_dispatch(), and message_queue_source_new().

GSource MessageQueueSource::parent

Definition at line 222 of file gtkDS.c.

GAsyncQueue* MessageQueueSource::queue

The documentation for this struct was generated from the following file: