igorsiem / ensync

0 stars 0 forks source link

No `shared_mutex` support in GCC (yet) #12

Open igorsiem opened 7 years ago

igorsiem commented 7 years ago

GCC does not (yet) appear to support the C++17 standard shared_mutex and shared_lock classes, which affects our ability to have 'read locks' and 'write locks'. The workaround (for now) is to make all locks exclusive, which will work, but might negatively affect MT performance down the track.

igorsiem commented 7 years ago

Another possibility for addressing this is the Boost implementation of shared_mutex, but we're not ready to adopt Boost yet.