Re: C++11: Deprecate Glib::Threads
- From: Murray Cumming <murrayc murrayc com>
- To: Andrew Potter <agpotter gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: C++11: Deprecate Glib::Threads
- Date: Sun, 30 Aug 2015 12:34:30 +0200
On Sat, 2015-08-29 at 13:37 -0700, Andrew Potter wrote:
On Wed, Aug 26, 2015 at 1:20 PM, Murray Cumming <murrayc murrayc com> wrote:
I'm starting to learn about the new concurrency APIs in C++11. I wonder
if we could soon deprecate Glib::Threads, which wraps the glib threads
API. Thoughts?
https://developer.gnome.org/glibmm/stable/group__Threads.html
Keep in mind Reader/Writer locks are only in C++14; do the current
major distros stable versions have a GCC new enough that users could
update their code to avoid the depreciation warning?
We could probably require C++14 for the next glibmm version (2.47/48).
Would that then be enough to deprecate all of Glib::Threads?
It's a little late in the glibmm 2.45/46 development cycle for such a
big deprecation anyway. But we can already begin experimenting with
replacing Glib::Threads stuff with C++11 API in our applications and
documentation. For instance:
https://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/multithread
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]