Emmanuele Bassi
fc5f986e60
Initialise the global GParamSpecPool in more places
...
Right now, we're assuming that GObjectClass will be initialised first
and under a lock, but that's not always the case: when traversing a list
of type, the first one might be a GTypeInterface, and if we initialise
an interface that installs a property, the whole thing comes crashing
down because the global GParamSpecPool is not initialised.
Instead of taking a lock everywhere, we can use an atomic compare and
swap; the first thread that installs a property wins the race, as any
other access to the GParamSpecPool is performed under a lock.
2023-12-19 19:53:48 +00:00
..
2023-11-21 11:54:42 +00:00
2023-01-29 12:36:06 +00:00
2023-01-29 12:36:06 +00:00
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:04 +01:00
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:20 +01:00
2023-11-29 12:04:12 +00:00
2022-10-13 20:53:56 -04:00
2023-10-25 12:01:02 +01:00
2023-10-16 23:35:05 +01:00
2023-10-11 14:01:29 +01:00
2022-10-13 20:53:56 -04:00
2023-10-04 14:50:54 +01:00
2022-11-24 12:06:10 +00:00
2022-10-26 18:07:55 +01:00
2023-11-21 11:54:42 +00:00
2023-11-23 12:36:11 +00:00
2022-10-26 18:07:55 +01:00
2022-10-13 20:53:56 -04:00
2023-12-12 17:30:01 +00:00
2012-10-15 19:48:44 -04:00
2022-06-01 12:44:23 +01:00
2023-10-23 10:25:30 +01:00
2022-07-05 11:06:49 +00:00
2023-12-19 19:53:48 +00:00
2023-10-16 23:34:24 +01:00
2018-01-04 22:19:30 +01:00
2016-11-23 10:50:39 +00:00
2022-08-09 13:18:47 -05:00
2023-12-19 18:41:02 +00:00
2023-12-19 18:41:02 +00:00
2023-10-25 12:01:02 +01:00
2022-10-13 20:53:56 -04:00
2023-11-29 12:04:59 +00:00
2023-12-15 21:03:42 +01:00
2023-11-29 13:41:34 +00:00
2023-10-16 23:34:44 +01:00
2023-10-04 14:50:54 +01:00
2022-10-13 20:53:56 -04:00
2022-07-05 11:06:49 +00:00
2023-10-25 12:01:02 +01:00
2023-10-25 12:01:02 +01:00
2023-10-23 11:26:53 +01:00
2023-10-16 23:34:59 +01:00
2023-10-23 11:26:53 +01:00
2023-10-16 23:34:53 +01:00
2023-10-11 14:01:29 +01:00
2022-10-13 20:53:56 -04:00
2023-10-23 11:26:53 +01:00
2023-10-16 23:34:39 +01:00
2023-10-23 13:18:13 +01:00
2022-06-01 12:44:23 +01:00
2023-11-04 10:40:30 +00:00
2023-11-04 10:40:30 +00:00
2016-05-23 10:52:10 -04:00
2023-11-15 11:09:39 +00:00