GLib's GSequence simultaneous read accesses not allowed?
- From: Sergei Vorobyov <sergei vorobyov facilitylabs com>
- To: gtk-list gnome org
- Subject: GLib's GSequence simultaneous read accesses not allowed?
- Date: Thu, 09 Oct 2014 10:37:41 -0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]