GLib's GSequence simultaneous read accesses not allowed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings!

I am using a GRWLock to provide several reader threads access (g_sequence_lookup) to the *constant* GSequence and I get

Accessing a sequence while it is being sorted or searched is not allowed

Why can't one have several simultaneous searches? (I agree that simultaneous searching AND sorting is problematic).

What is the rationale? It seems easy to implement a reentrant search function.

My GLib version is v2.40.0 
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux