Merge branch 'mainloop-id-rationale' into 'main'

Document the stance on ID-based mainloop APIs

See merge request GNOME/glib!2202
This commit is contained in:
Philip Withnall 2021-07-27 15:50:31 +00:00
commit 6549a36535

View File

@ -8,3 +8,9 @@ giving a brief rationale of each decision, plus a link to further discussion.
already supported by GLib and GNOME tools, and accomplish the same task as
compiler attributes. GLib does not provide macros for attributes like
nonnull because it would not use them.
* Main loop API:
The ID-based mainloop APIs (g_idle_add, g_timeout_add, etc) are considered
legacy, and new features (such as g_source_set_static_name) will only be
added to the explicit GSource APIs.