Is GLib's GAsyncQueue guaranteed to be FIFO?

495 Views Asked by At

Documentation of GLib's GAsyncQueue does not state what the order of the pushed/poped elements is. From my testing, it seems to be FIFO which is exactly what I need. But is this guaranteed on all target platforms?

1

There are 1 best solutions below

0
On

It works according the FIFO principle (as it is already implied with the name Queue) - there is no additional sorting or mixing applied.