mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-04-23 14:01:26 +00:00
sysprofd: remove use of GAtomicRCBox
Using an embedded ref count allows us to backport to older operating systems for which GLib is restricted to 2.56.
This commit is contained in:
@ -43,8 +43,9 @@ gboolean sysprof_turbostat_start (SysprofTurbostat *self,
|
||||
void sysprof_turbostat_stop (SysprofTurbostat *self);
|
||||
gboolean sysprof_turbostat_sample (SysprofTurbostat *self,
|
||||
GError **error);
|
||||
void sysprof_turbostat_free (SysprofTurbostat *self);
|
||||
SysprofTurbostat *sysprof_turbostat_ref (SysprofTurbostat *self);
|
||||
void sysprof_turbostat_unref (SysprofTurbostat *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofTurbostat, sysprof_turbostat_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofTurbostat, sysprof_turbostat_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user