• Philip Withnall's avatar
    gthread: Add g_private_set_alloc0() internal convenience API · f6caeb6d
    Philip Withnall authored
    This is a wrapper around g_private_set() which allocates the desired
    amount of memory for the caller and calls g_private_set() on it.
    
    This is intended to make it easier to suppress Valgrind warnings about
    leaked memory, since g_private_set() is typically used to make one-time
    per-thread allocations. We can now just add a blanket suppression rule
    for any allocations inside g_private_set_alloc0().
    Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    f6caeb6d
Name
Last commit
Last update
..
deprecated Loading commit data...
glib-mirroring-tab Loading commit data...
gnulib Loading commit data...
libcharset Loading commit data...
pcre Loading commit data...
tests Loading commit data...
update-pcre Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
docs.c Loading commit data...
galloca.h Loading commit data...
garcbox.c Loading commit data...
garray.c Loading commit data...
garray.h Loading commit data...
gasyncqueue.c Loading commit data...
gasyncqueue.h Loading commit data...
gasyncqueueprivate.h Loading commit data...
gatomic.c Loading commit data...
gatomic.h Loading commit data...
gbacktrace.c Loading commit data...
gbacktrace.h Loading commit data...
gbase64.c Loading commit data...
gbase64.h Loading commit data...
gbitlock.c Loading commit data...
gbitlock.h Loading commit data...
gbookmarkfile.c Loading commit data...
gbookmarkfile.h Loading commit data...
gbsearcharray.h Loading commit data...
gbytes.c Loading commit data...
gbytes.h Loading commit data...
gcharset.c Loading commit data...
gcharset.h Loading commit data...
gcharsetprivate.h Loading commit data...
gchecksum.c Loading commit data...
gchecksum.h Loading commit data...
gconstructor.h Loading commit data...
gconvert.c Loading commit data...
gconvert.h Loading commit data...
gdataset.c Loading commit data...
gdataset.h Loading commit data...
gdatasetprivate.h Loading commit data...
gdate.c Loading commit data...
gdate.h Loading commit data...
gdatetime.c Loading commit data...
gdatetime.h Loading commit data...
gdir.c Loading commit data...
gdir.h Loading commit data...
gen-unicode-tables.pl Loading commit data...
genviron.c Loading commit data...
genviron.h Loading commit data...
gerror.c Loading commit data...
gerror.h Loading commit data...
gfileutils.c Loading commit data...
gfileutils.h Loading commit data...
ggettext.c Loading commit data...
ggettext.h Loading commit data...
ghash.c Loading commit data...
ghash.h Loading commit data...
ghmac.c Loading commit data...
ghmac.h Loading commit data...
ghook.c Loading commit data...
ghook.h Loading commit data...
ghostutils.c Loading commit data...
ghostutils.h Loading commit data...
gi18n-lib.h Loading commit data...
gi18n.h Loading commit data...
giochannel.c Loading commit data...
giochannel.h Loading commit data...
giounix.c Loading commit data...
giowin32.c Loading commit data...
gkeyfile.c Loading commit data...
gkeyfile.h Loading commit data...
glib-autocleanups.h Loading commit data...
glib-init.c Loading commit data...
glib-init.h Loading commit data...
glib-object.h Loading commit data...
glib-private.c Loading commit data...
glib-private.h Loading commit data...
glib-unix.c Loading commit data...
glib-unix.h Loading commit data...
glib.h Loading commit data...
glib.rc.in Loading commit data...
glib.stp.in Loading commit data...
glib_gdb.py Loading commit data...
glib_probes.d Loading commit data...
glib_trace.h Loading commit data...
glibconfig.h.in Loading commit data...
glibintl.h Loading commit data...
glist.c Loading commit data...
glist.h Loading commit data...
gmacros.h Loading commit data...
gmain-internal.h Loading commit data...
gmain.c Loading commit data...
gmain.h Loading commit data...
gmappedfile.c Loading commit data...
gmappedfile.h Loading commit data...
gmarkup.c Loading commit data...
gmarkup.h Loading commit data...
gmem.c Loading commit data...
gmem.h Loading commit data...
gmessages.c Loading commit data...
gmessages.h Loading commit data...
gmirroringtable.h Loading commit data...
gnode.c Loading commit data...
gnode.h Loading commit data...
goption.c Loading commit data...
goption.h Loading commit data...
gpattern.c Loading commit data...
gpattern.h Loading commit data...
gpoll.c Loading commit data...
gpoll.h Loading commit data...
gprimes.c Loading commit data...
gprimes.h Loading commit data...
gprintf.c Loading commit data...
gprintf.h Loading commit data...
gprintfint.h Loading commit data...
gqsort.c Loading commit data...
gqsort.h Loading commit data...
gquark.c Loading commit data...
gquark.h Loading commit data...
gqueue.c Loading commit data...
gqueue.h Loading commit data...
grand.c Loading commit data...
grand.h Loading commit data...
grcbox.c Loading commit data...
grcbox.h Loading commit data...
grcboxprivate.h Loading commit data...
grefcount.c Loading commit data...
grefcount.h Loading commit data...
grefstring.c Loading commit data...
grefstring.h Loading commit data...
gregex.c Loading commit data...
gregex.h Loading commit data...
gscanner.c Loading commit data...
gscanner.h Loading commit data...
gscripttable.h Loading commit data...
gsequence.c Loading commit data...
gsequence.h Loading commit data...
gshell.c Loading commit data...
gshell.h Loading commit data...
gslice.c Loading commit data...
gslice.h Loading commit data...
gslist.c Loading commit data...
gslist.h Loading commit data...
gspawn-private.h Loading commit data...
gspawn-win32-helper.c Loading commit data...
gspawn-win32.c Loading commit data...
gspawn.c Loading commit data...
gspawn.h Loading commit data...
gstdio-private.c Loading commit data...
gstdio.c Loading commit data...
gstdio.h Loading commit data...
gstdioprivate.h Loading commit data...
gstrfuncs.c Loading commit data...
gstrfuncs.h Loading commit data...
gstring.c Loading commit data...
gstring.h Loading commit data...
gstringchunk.c Loading commit data...
gstringchunk.h Loading commit data...
gtester-report.in Loading commit data...
gtester.c Loading commit data...
gtestutils.c Loading commit data...
gtestutils.h Loading commit data...
gthread-posix.c Loading commit data...
gthread-win32.c Loading commit data...
gthread.c Loading commit data...
gthread.h Loading commit data...
gthreadpool.c Loading commit data...
gthreadpool.h Loading commit data...
gthreadprivate.h Loading commit data...
gtimer.c Loading commit data...
gtimer.h Loading commit data...
gtimezone.c Loading commit data...
gtimezone.h Loading commit data...
gtranslit-data.h Loading commit data...
gtranslit.c Loading commit data...
gtrashstack.c Loading commit data...
gtrashstack.h Loading commit data...
gtree.c Loading commit data...
gtree.h Loading commit data...
gtypes.h Loading commit data...
gunibreak.c Loading commit data...
gunibreak.h Loading commit data...
gunichartables.h Loading commit data...
gunicode.h Loading commit data...
gunicodeprivate.h Loading commit data...
gunicollate.c Loading commit data...
gunicomp.h Loading commit data...
gunidecomp.c Loading commit data...
gunidecomp.h Loading commit data...
guniprop.c Loading commit data...
gurifuncs.c Loading commit data...
gurifuncs.h Loading commit data...
gutf8.c Loading commit data...
gutils.c Loading commit data...
gutils.h Loading commit data...
gutilsprivate.h Loading commit data...
guuid.c Loading commit data...
guuid.h Loading commit data...
gvalgrind.h Loading commit data...
gvariant-core.c Loading commit data...
gvariant-core.h Loading commit data...
gvariant-internal.h Loading commit data...
gvariant-parser.c Loading commit data...
gvariant-serialiser.c Loading commit data...
gvariant-serialiser.h Loading commit data...
gvariant.c Loading commit data...
gvariant.h Loading commit data...
gvarianttype.c Loading commit data...
gvarianttype.h Loading commit data...
gvarianttypeinfo.c Loading commit data...
gvarianttypeinfo.h Loading commit data...
gversion.c Loading commit data...
gversion.h Loading commit data...
gversionmacros.h Loading commit data...
gwakeup.c Loading commit data...
gwakeup.h Loading commit data...
gwin32.c Loading commit data...
gwin32.h Loading commit data...
libglib-gdb.py.in Loading commit data...
meson.build Loading commit data...
update-gtranslit.py Loading commit data...
valgrind.h Loading commit data...
win_iconv.c Loading commit data...