glib2 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +24 -12
- data/ext/glib2/extconf.rb +1 -0
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-variant.c +163 -12
- data/ext/glib2/rbglib.c +31 -8
- data/ext/glib2/rbglib.h +15 -1
- data/ext/glib2/rbglib2conversions.h +3 -0
- data/ext/glib2/rbglib_iochannel.c +0 -3
- data/ext/glib2/rbglib_iochannel_win32_socket.c +0 -1
- data/ext/glib2/rbglib_matchinfo.c +179 -0
- data/ext/glib2/rbglib_regex.c +484 -0
- data/ext/glib2/rbgobj_value.c +7 -1
- data/ext/glib2/rbgprivate.h +2 -0
- data/ext/glib2/rbgutil.c +7 -0
- data/ext/glib2/rbgutil.h +2 -0
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2/regex.rb +29 -0
- data/lib/glib2.rb +2 -1
- data/lib/gnome2/rake/external-package.rb +6 -1
- data/lib/gnome2/rake/package-task.rb +1 -1
- data/lib/gnome2/rake/package.rb +9 -0
- data/lib/gnome2/rake/windows-binary-build-task.rb +35 -11
- data/lib/mkmf-gnome2.rb +3 -1
- data/test/test-match-info.rb +113 -0
- data/test/test-regex.rb +320 -0
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +1 -1
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +2 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/iconv.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libcharset-1.dll +0 -0
- data/vendor/local/bin/libffi-6.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmp-10.dll +0 -0
- data/vendor/local/bin/libgnutls-30.def +993 -984
- data/vendor/local/bin/libgnutls-30.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libhogweed-4-2.dll +0 -0
- data/vendor/local/bin/libiconv-2.dll +0 -0
- data/vendor/local/bin/libidn-11.dll +0 -0
- data/vendor/local/bin/libintl-8.dll +0 -0
- data/vendor/local/bin/{libnettle-6-1.dll → libnettle-6-2.dll} +0 -0
- data/vendor/local/bin/libp11-kit-0.dll +0 -0
- data/vendor/local/bin/libpcre-1.dll +0 -0
- data/vendor/local/bin/libpcrecpp-0.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/libtasn1-6.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/nettle-lfib-stream.exe +0 -0
- data/vendor/local/bin/nettle-pbkdf2.exe +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcre-config +133 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pcretest.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/bin/trust.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gdatagrambased.h +144 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +9 -1
- data/vendor/local/include/glib-2.0/gio/gdtlsclientconnection.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsconnection.h +191 -0
- data/vendor/local/include/glib-2.0/gio/gdtlsserverconnection.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gio-autocleanups.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +69 -13
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +2 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gliststore.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkmonitor.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gsettingsschema.h +3 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +25 -25
- data/vendor/local/include/glib-2.0/gio/gsocket.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +4 -1
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +13 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +2 -0
- data/vendor/local/include/glib-2.0/glib/glib-autocleanups.h +12 -4
- data/vendor/local/include/glib-2.0/glib/gmacros.h +46 -10
- data/vendor/local/include/glib-2.0/glib/gmain.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +7 -5
- data/vendor/local/include/glib-2.0/glib/gmessages.h +8 -8
- data/vendor/local/include/glib-2.0/glib/gnode.h +2 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +2 -9
- data/vendor/local/include/glib-2.0/glib/gsequence.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +15 -2
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gtrashstack.h +10 -57
- data/vendor/local/include/glib-2.0/glib/gtypes.h +61 -6
- data/vendor/local/include/glib-2.0/glib/gunicode.h +15 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +36 -57
- data/vendor/local/include/glib-2.0/glib/gversionmacros.h +59 -10
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +3 -3
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +2 -1
- data/vendor/local/include/glib-2.0/gobject/glib-types.h +0 -7
- data/vendor/local/include/glib-2.0/gobject/gobject-autocleanups.h +0 -1
- data/vendor/local/include/glib-2.0/gobject/gobject.h +8 -4
- data/vendor/local/include/glib-2.0/gobject/gparam.h +5 -2
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +3 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +47 -26
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -0
- data/vendor/local/include/gmp.h +56 -24
- data/vendor/local/include/gnutls/gnutls.h +79 -39
- data/vendor/local/include/gnutls/pkcs11.h +6 -0
- data/vendor/local/include/gnutls/pkcs7.h +17 -4
- data/vendor/local/include/gnutls/x509.h +8 -0
- data/vendor/local/include/libintl.h +1 -1
- data/vendor/local/include/libtasn1.h +1 -1
- data/vendor/local/include/nettle/rsa.h +72 -0
- data/vendor/local/include/nettle/sha3.h +4 -0
- data/vendor/local/include/nettle/version.h +8 -1
- data/vendor/local/include/p11-kit-1/p11-kit/p11-kit.h +1 -0
- data/vendor/local/include/pcre.h +677 -0
- data/vendor/local/include/pcre_scanner.h +172 -0
- data/vendor/local/include/pcre_stringpiece.h +180 -0
- data/vendor/local/include/pcrecpp.h +710 -0
- data/vendor/local/include/pcrecpparg.h +174 -0
- data/vendor/local/include/pcreposix.h +146 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +3 -3
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +4 -16
- data/vendor/local/lib/libasprintf.a +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +5 -5
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +5 -5
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +5 -5
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgmp.la +4 -4
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutls.la +3 -3
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +5 -5
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +5 -5
- data/vendor/local/lib/libhogweed.a +0 -0
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libintl.la +1 -1
- data/vendor/local/lib/libnettle.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcre.la +41 -0
- data/vendor/local/lib/libpcrecpp.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.la +41 -0
- data/vendor/local/lib/libpcreposix.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.la +41 -0
- data/vendor/local/lib/libtasn1.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/libtasn1.la +1 -1
- data/vendor/local/lib/p11-kit/p11-kit-remote.exe +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +3 -3
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gnutls.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/hogweed.pc +1 -1
- data/vendor/local/lib/pkgconfig/libpcre.pc +13 -0
- data/vendor/local/lib/pkgconfig/libpcrecpp.pc +12 -0
- data/vendor/local/lib/pkgconfig/libpcreposix.pc +13 -0
- data/vendor/local/lib/pkgconfig/libtasn1.pc +1 -1
- data/vendor/local/lib/pkgconfig/nettle.pc +1 -1
- data/vendor/local/lib/pkgconfig/p11-kit-1.pc +1 -1
- data/vendor/local/share/aclocal/glib-gettext.m4 +3 -2
- data/vendor/local/share/doc/pcre/AUTHORS +45 -0
- data/vendor/local/share/doc/pcre/COPYING +5 -0
- data/vendor/local/share/doc/pcre/ChangeLog +5918 -0
- data/vendor/local/share/doc/pcre/LICENCE +93 -0
- data/vendor/local/share/doc/pcre/NEWS +716 -0
- data/vendor/local/share/doc/pcre/README +1002 -0
- data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +772 -0
- data/vendor/local/share/doc/pcre/html/README.txt +1002 -0
- data/vendor/local/share/doc/pcre/html/index.html +185 -0
- data/vendor/local/share/doc/pcre/html/pcre-config.html +109 -0
- data/vendor/local/share/doc/pcre/html/pcre.html +224 -0
- data/vendor/local/share/doc/pcre/html/pcre16.html +384 -0
- data/vendor/local/share/doc/pcre/html/pcre32.html +382 -0
- data/vendor/local/share/doc/pcre/html/pcre_assign_jit_stack.html +76 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_compile2.html +115 -0
- data/vendor/local/share/doc/pcre/html/pcre_config.html +94 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_named_substring.html +65 -0
- data/vendor/local/share/doc/pcre/html/pcre_copy_substring.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_dfa_exec.html +129 -0
- data/vendor/local/share/doc/pcre/html/pcre_exec.html +111 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_study.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_free_substring_list.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcre_fullinfo.html +118 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_named_substring.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringnumber.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_stringtable_entries.html +60 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring.html +64 -0
- data/vendor/local/share/doc/pcre/html/pcre_get_substring_list.html +61 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_exec.html +108 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_alloc.html +55 -0
- data/vendor/local/share/doc/pcre/html/pcre_jit_stack_free.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_maketables.html +48 -0
- data/vendor/local/share/doc/pcre/html/pcre_pattern_to_host_byte_order.html +58 -0
- data/vendor/local/share/doc/pcre/html/pcre_refcount.html +51 -0
- data/vendor/local/share/doc/pcre/html/pcre_study.html +68 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf16_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_utf32_to_host_byte_order.html +57 -0
- data/vendor/local/share/doc/pcre/html/pcre_version.html +46 -0
- data/vendor/local/share/doc/pcre/html/pcreapi.html +2922 -0
- data/vendor/local/share/doc/pcre/html/pcrebuild.html +534 -0
- data/vendor/local/share/doc/pcre/html/pcrecallout.html +286 -0
- data/vendor/local/share/doc/pcre/html/pcrecompat.html +235 -0
- data/vendor/local/share/doc/pcre/html/pcrecpp.html +368 -0
- data/vendor/local/share/doc/pcre/html/pcredemo.html +426 -0
- data/vendor/local/share/doc/pcre/html/pcregrep.html +759 -0
- data/vendor/local/share/doc/pcre/html/pcrejit.html +452 -0
- data/vendor/local/share/doc/pcre/html/pcrelimits.html +90 -0
- data/vendor/local/share/doc/pcre/html/pcrematching.html +242 -0
- data/vendor/local/share/doc/pcre/html/pcrepartial.html +509 -0
- data/vendor/local/share/doc/pcre/html/pcrepattern.html +3273 -0
- data/vendor/local/share/doc/pcre/html/pcreperform.html +195 -0
- data/vendor/local/share/doc/pcre/html/pcreposix.html +290 -0
- data/vendor/local/share/doc/pcre/html/pcreprecompile.html +163 -0
- data/vendor/local/share/doc/pcre/html/pcresample.html +110 -0
- data/vendor/local/share/doc/pcre/html/pcrestack.html +225 -0
- data/vendor/local/share/doc/pcre/html/pcresyntax.html +561 -0
- data/vendor/local/share/doc/pcre/html/pcretest.html +1158 -0
- data/vendor/local/share/doc/pcre/html/pcreunicode.html +262 -0
- data/vendor/local/share/doc/pcre/pcre-config.txt +86 -0
- data/vendor/local/share/doc/pcre/pcre.txt +10455 -0
- data/vendor/local/share/doc/pcre/pcregrep.txt +741 -0
- data/vendor/local/share/doc/pcre/pcretest.txt +1087 -0
- data/vendor/local/share/gdb/auto-load/{libglib-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/{libgobject-2.0.so.0.4400.1-gdb.py → home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.so.0.4800.0-gdb.py} +0 -0
- data/vendor/local/share/gettext/ABOUT-NLS +382 -413
- data/vendor/local/share/gettext/its/gschema.its +25 -0
- data/vendor/local/share/gettext/its/gschema.loc +10 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.py +22 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +4 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +58 -64
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +75 -80
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +50 -51
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +72 -97
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +7 -8
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +174 -160
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +127 -132
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +90 -92
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +43 -46
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +17 -26
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +12 -17
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +45 -52
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +14 -18
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +20 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +41 -48
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +34 -40
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +337 -258
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +23 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +44 -50
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +143 -158
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +59 -54
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +19 -22
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +25 -27
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +48 -52
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +34 -31
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +25 -28
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +105 -122
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +32 -39
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +40 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +17 -28
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +766 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +56 -75
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +468 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +1521 -0
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +208 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +16 -19
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +16 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +204 -240
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +13 -15
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +128 -145
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +8 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +75 -36
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +10 -13
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +41 -43
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +56 -44
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +20 -23
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +103 -118
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +39 -47
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +32 -44
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +80 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +10 -11
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +138 -145
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +84 -94
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +54 -66
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +34 -42
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +26 -28
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +97 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +49 -47
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +39 -56
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +16 -20
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +30 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -51
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +17 -19
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +46 -47
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +79 -74
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +12 -18
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +325 -200
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +28 -29
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -49
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +21 -23
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +258 -162
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -9
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +470 -281
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +27 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +76 -85
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +118 -72
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +26 -30
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +180 -62
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +51 -28
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +25 -31
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +63 -75
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +49 -54
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +406 -404
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +36 -38
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +30 -31
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +11 -14
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +172 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +96 -37
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +64 -66
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +256 -63
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +150 -49
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +21 -18
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +21 -26
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +31 -37
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +26 -27
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +15 -17
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +21 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +11 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +211 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +283 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +107 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +459 -8
- data/vendor/local/share/gtk-doc/html/gio/application.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +29 -172
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +187 -27
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +15 -34
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +16 -137
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +26 -87
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +37 -121
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +132 -176
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +19 -71
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +24 -908
- data/vendor/local/share/gtk-doc/html/gio/{ch33s06.html → ch34s06.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch33s07.html → ch34s07.html} +9 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +94 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +141 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +201 -0
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/extending.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +11 -12
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +199 -200
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +89 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +9 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +24 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +77 -87
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +19 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +43 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +20 -27
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +9 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +21 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +9 -12
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +147 -114
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +2066 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +29 -32
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -13
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +54 -75
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +27 -30
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +11 -8
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +4 -5
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +194 -140
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +6 -7
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -6
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -6
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/index.html +41 -45
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +204 -137
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +22 -44
- data/vendor/local/share/gtk-doc/html/gio/networking.html +6 -4
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +20 -5
- data/vendor/local/share/gtk-doc/html/gio/registry.html +32 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/settings.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/tls.html +12 -4
- data/vendor/local/share/gtk-doc/html/gio/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/utils.html +3 -4
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +16 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +7 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +12 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +68 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +46 -8
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +80 -9
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +68 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +254 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +130 -144
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +19 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +33 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +22 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +89 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +384 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +100 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +83 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +14 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +49 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +141 -156
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +32 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +24 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +28 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +108 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +98 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +89 -112
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +93 -125
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +50 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +189 -171
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +99 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +172 -217
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +32 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +430 -451
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +53 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +12 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +167 -192
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +58 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +14 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +70 -79
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +68 -102
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +166 -183
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +33 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +80 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +101 -119
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +102 -75
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +133 -60
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +192 -162
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +107 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +69 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +12 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +199 -230
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +54 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +24 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +29 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +187 -173
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +13 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +104 -117
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +62 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +26 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +15 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +13 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +210 -261
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +95 -101
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +306 -268
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +373 -369
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +79 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +316 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +12 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +44 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +20 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +44 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +21 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +200 -220
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +51 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -41
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +25 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +6 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +4 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +14 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +44 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +3 -4
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +149 -149
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +11 -12
- data/vendor/local/share/gtk-doc/html/glib/index.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +36 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +53 -57
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +72 -77
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +14 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +5 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +34 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +22 -17
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +85 -135
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +80 -144
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +7 -8
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +59 -75
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +20 -21
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +19 -20
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +68 -89
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +227 -218
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +48 -57
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +125 -96
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +78 -90
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +143 -138
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +226 -285
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +306 -289
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +450 -448
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +22 -23
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +11 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +32 -91
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +134 -133
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +4 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +89 -98
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +119 -112
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +199 -183
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +30 -30
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +32 -33
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +80 -32
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +73 -53
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +52 -50
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +255 -133
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +147 -111
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +65 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +93 -79
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +80 -54
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +82 -87
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +126 -62
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +61 -54
- data/vendor/local/share/gtk-doc/html/gobject/index.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +98 -198
- data/vendor/local/share/gtk-doc/html/gobject/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +10 -11
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -4
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-example.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config-files.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/config.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building-style.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-building.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-commands.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-debugging.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel-testing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/devel.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/gtk-doc.css +9 -6
- data/vendor/local/share/gtk-doc/html/p11-kit/index.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/index.sgml +22 -0
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Deprecated.html +3 -13
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +3 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +3 -14
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +3 -18
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +3 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.devhelp2 +22 -1
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit.html +2 -3
- data/vendor/local/share/gtk-doc/html/p11-kit/pkcs11-conf.html +7 -8
- data/vendor/local/share/gtk-doc/html/p11-kit/reference.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing-managed.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/sharing.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/tools.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-disable.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-glib-networking.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-module.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust-nss.html +3 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/trust.html +3 -4
- data/vendor/local/share/info/gmp.info +153 -158
- data/vendor/local/share/info/gmp.info-1 +131 -178
- data/vendor/local/share/info/gmp.info-2 +250 -193
- data/vendor/local/share/info/libtasn1.info +2 -2
- data/vendor/local/share/license/gmp/AUTHORS +1 -1
- data/vendor/local/share/license/pcre/AUTHORS +45 -0
- data/vendor/local/share/license/pcre/COPYING +5 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gnutls.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Decoding.1 +1 -1
- data/vendor/local/share/man/man1/asn1Parser.1 +1 -1
- data/vendor/local/share/man/man1/envsubst.1 +1 -1
- data/vendor/local/share/man/man1/gapplication.1 +2 -2
- data/vendor/local/share/man/man1/gdbus-codegen.1 +23 -22
- data/vendor/local/share/man/man1/gdbus.1 +2 -2
- data/vendor/local/share/man/man1/gettext.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-resources.1 +2 -2
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +7 -2
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-gettextize.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/share/man/man1/gresource.1 +2 -2
- data/vendor/local/share/man/man1/gsettings.1 +2 -2
- data/vendor/local/share/man/man1/gtester-report.1 +2 -2
- data/vendor/local/share/man/man1/gtester.1 +2 -2
- data/vendor/local/share/man/man1/ngettext.1 +1 -1
- data/vendor/local/share/man/man1/pcre-config.1 +92 -0
- data/vendor/local/share/man/man1/pcregrep.1 +683 -0
- data/vendor/local/share/man/man1/pcretest.1 +1156 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_check_version.3 +1 -1
- data/vendor/local/share/man/man3/asn1_copy_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_create_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_decode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_delete_structure2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_coding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding2.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +1 -1
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +1 -1
- data/vendor/local/share/man/man3/asn1_dup_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_encode_simple_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +1 -1
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_node.3 +1 -1
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_ber.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_object_id_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_length_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +1 -1
- data/vendor/local/share/man/man3/asn1_octet_der.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2array.3 +1 -1
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +1 -1
- data/vendor/local/share/man/man3/asn1_perror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_print_structure.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_node_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_tag.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value.3 +1 -1
- data/vendor/local/share/man/man3/asn1_read_value_type.3 +1 -1
- data/vendor/local/share/man/man3/asn1_strerror.3 +1 -1
- data/vendor/local/share/man/man3/asn1_write_value.3 +1 -1
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +1 -1
- data/vendor/local/share/man/man3/bindtextdomain.3 +1 -1
- data/vendor/local/share/man/man3/gettext.3 +1 -1
- data/vendor/local/share/man/man3/ngettext.3 +1 -1
- data/vendor/local/share/man/man3/pcre.3 +230 -0
- data/vendor/local/share/man/man3/pcre16.3 +371 -0
- data/vendor/local/share/man/man3/pcre16_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre16_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre16_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre16_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre16_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre16_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre16_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre16_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre16_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre16_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre16_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre16_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre16_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre16_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre16_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre16_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre16_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre16_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre16_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre32.3 +369 -0
- data/vendor/local/share/man/man3/pcre32_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre32_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre32_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre32_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre32_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre32_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre32_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre32_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre32_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre32_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre32_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre32_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre32_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre32_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre32_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre32_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre32_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre32_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre32_version.3 +31 -0
- data/vendor/local/share/man/man3/pcre_assign_jit_stack.3 +59 -0
- data/vendor/local/share/man/man3/pcre_compile.3 +96 -0
- data/vendor/local/share/man/man3/pcre_compile2.3 +101 -0
- data/vendor/local/share/man/man3/pcre_config.3 +79 -0
- data/vendor/local/share/man/man3/pcre_copy_named_substring.3 +51 -0
- data/vendor/local/share/man/man3/pcre_copy_substring.3 +47 -0
- data/vendor/local/share/man/man3/pcre_dfa_exec.3 +118 -0
- data/vendor/local/share/man/man3/pcre_exec.3 +99 -0
- data/vendor/local/share/man/man3/pcre_free_study.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring.3 +31 -0
- data/vendor/local/share/man/man3/pcre_free_substring_list.3 +31 -0
- data/vendor/local/share/man/man3/pcre_fullinfo.3 +103 -0
- data/vendor/local/share/man/man3/pcre_get_named_substring.3 +54 -0
- data/vendor/local/share/man/man3/pcre_get_stringnumber.3 +43 -0
- data/vendor/local/share/man/man3/pcre_get_stringtable_entries.3 +46 -0
- data/vendor/local/share/man/man3/pcre_get_substring.3 +50 -0
- data/vendor/local/share/man/man3/pcre_get_substring_list.3 +47 -0
- data/vendor/local/share/man/man3/pcre_jit_exec.3 +96 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_alloc.3 +43 -0
- data/vendor/local/share/man/man3/pcre_jit_stack_free.3 +35 -0
- data/vendor/local/share/man/man3/pcre_maketables.3 +33 -0
- data/vendor/local/share/man/man3/pcre_pattern_to_host_byte_order.3 +44 -0
- data/vendor/local/share/man/man3/pcre_refcount.3 +36 -0
- data/vendor/local/share/man/man3/pcre_study.3 +54 -0
- data/vendor/local/share/man/man3/pcre_utf16_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_utf32_to_host_byte_order.3 +45 -0
- data/vendor/local/share/man/man3/pcre_version.3 +31 -0
- data/vendor/local/share/man/man3/pcreapi.3 +2919 -0
- data/vendor/local/share/man/man3/pcrebuild.3 +550 -0
- data/vendor/local/share/man/man3/pcrecallout.3 +255 -0
- data/vendor/local/share/man/man3/pcrecompat.3 +200 -0
- data/vendor/local/share/man/man3/pcrecpp.3 +348 -0
- data/vendor/local/share/man/man3/pcredemo.3 +424 -0
- data/vendor/local/share/man/man3/pcrejit.3 +431 -0
- data/vendor/local/share/man/man3/pcrelimits.3 +71 -0
- data/vendor/local/share/man/man3/pcrematching.3 +214 -0
- data/vendor/local/share/man/man3/pcrepartial.3 +476 -0
- data/vendor/local/share/man/man3/pcrepattern.3 +3301 -0
- data/vendor/local/share/man/man3/pcreperform.3 +177 -0
- data/vendor/local/share/man/man3/pcreposix.3 +267 -0
- data/vendor/local/share/man/man3/pcreprecompile.3 +155 -0
- data/vendor/local/share/man/man3/pcresample.3 +99 -0
- data/vendor/local/share/man/man3/pcrestack.3 +215 -0
- data/vendor/local/share/man/man3/pcresyntax.3 +540 -0
- data/vendor/local/share/man/man3/pcreunicode.3 +249 -0
- data/vendor/local/share/man/man3/textdomain.3 +1 -1
- metadata +233 -22
- data/lib/2.0/glib2.so +0 -0
- data/lib/2.1/glib2.so +0 -0
- data/vendor/local/bin/libhogweed-4-1.dll +0 -0
- data/vendor/local/share/gtk-doc/html/gio/ExampleAnimal.html +0 -1537
- data/vendor/local/share/gtk-doc/html/gio/ExampleCat.html +0 -679
- data/vendor/local/share/gtk-doc/html/gio/ExampleObject.html +0 -572
- data/vendor/local/share/gtk-doc/html/gio/ExampleObjectManagerClient.html +0 -561
- data/vendor/local/share/gtk-doc/html/gio/ch31.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch32s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch32s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch33s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch33s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Animal.html +0 -161
- data/vendor/local/share/gtk-doc/html/gio/gdbus-org.gtk.GDBus.Example.ObjectManager.Cat.html +0 -51
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Threads: GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-The-Main-Event-Loop.html" title="The Main Event Loop">
|
10
10
|
<link rel="next" href="glib-Thread-Pools.html" title="Thread Pools">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr></table></div>
|
35
35
|
<div class="refsect1">
|
36
36
|
<a name="glib-Threads.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
38
|
<colgroup>
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
@@ -466,7 +466,7 @@
|
|
466
466
|
</tr>
|
467
467
|
<tr>
|
468
468
|
<td class="function_type">
|
469
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
469
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
470
470
|
</td>
|
471
471
|
<td class="function_name">
|
472
472
|
<a class="link" href="glib-Threads.html#g-get-num-processors" title="g_get_num_processors ()">g_get_num_processors</a> <span class="c_punctuation">()</span>
|
@@ -477,7 +477,7 @@
|
|
477
477
|
</div>
|
478
478
|
<div class="refsect1">
|
479
479
|
<a name="glib-Threads.other"></a><h2>Types and Values</h2>
|
480
|
-
<div class="informaltable"><table width="100%" border="0">
|
480
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
481
481
|
<colgroup>
|
482
482
|
<col width="150px" class="name">
|
483
483
|
<col class="description">
|
@@ -608,6 +608,18 @@ threads. The two notable exceptions from this rule are <a class="link" href="gli
|
|
608
608
|
and <a class="link" href="glib-Asynchronous-Queues.html#GAsyncQueue" title="GAsyncQueue"><span class="type">GAsyncQueue</span></a>, which are thread-safe and need no further
|
609
609
|
application-level locking to be accessed from multiple threads.
|
610
610
|
Most refcounting functions such as <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> are also thread-safe.</p>
|
611
|
+
<p>A common use for <a href="glib-Threads.html#GThread"><span class="type">GThreads</span></a> is to move a long-running blocking operation out
|
612
|
+
of the main thread and into a worker thread. For GLib functions, such as
|
613
|
+
single GIO operations, this is not necessary, and complicates the code.
|
614
|
+
Instead, the <code class="literal">…<code class="function">_async()</code></code> version of the function should be used from the main
|
615
|
+
thread, eliminating the need for locking and synchronisation between multiple
|
616
|
+
threads. If an operation does need to be moved to a worker thread, consider
|
617
|
+
using <a href="https://developer.gnome.org/gio/unstable/GTask.html#g-task-run-in-thread"><code class="function">g_task_run_in_thread()</code></a>, or a <a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a>. <a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a> is often a
|
618
|
+
better choice than <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>, as it handles thread reuse and task queueing;
|
619
|
+
<a href="https://developer.gnome.org/gio/unstable/GTask.html"><span class="type">GTask</span></a> uses this internally.</p>
|
620
|
+
<p>However, if multiple blocking operations need to be performed in sequence,
|
621
|
+
and it is not possible to use <a href="https://developer.gnome.org/gio/unstable/GTask.html"><span class="type">GTask</span></a> for them, moving them to a worker thread
|
622
|
+
can clarify the code.</p>
|
611
623
|
</div>
|
612
624
|
<div class="refsect1">
|
613
625
|
<a name="glib-Threads.functions_details"></a><h2>Functions</h2>
|
@@ -620,7 +632,7 @@ Most refcounting functions such as <a href="https://developer.gnome.org/gobject/
|
|
620
632
|
or <a class="link" href="glib-Threads.html#g-thread-try-new" title="g_thread_try_new ()"><code class="function">g_thread_try_new()</code></a>.</p>
|
621
633
|
<div class="refsect3">
|
622
634
|
<a name="id-1.4.3.7.2.5"></a><h4>Parameters</h4>
|
623
|
-
<div class="informaltable"><table width="100%" border="0">
|
635
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
624
636
|
<colgroup>
|
625
637
|
<col width="150px" class="parameters_name">
|
626
638
|
<col class="parameters_description">
|
@@ -636,7 +648,6 @@ or <a class="link" href="glib-Threads.html#g-thread-try-new" title="g_thread_try
|
|
636
648
|
<div class="refsect3">
|
637
649
|
<a name="id-1.4.3.7.2.6"></a><h4>Returns</h4>
|
638
650
|
<p> the return value of the thread</p>
|
639
|
-
<p></p>
|
640
651
|
</div>
|
641
652
|
</div>
|
642
653
|
<hr>
|
@@ -661,11 +672,14 @@ Some systems restrict the length of <em class="parameter"><code>name</code></em>
|
|
661
672
|
to 16 bytes.</p>
|
662
673
|
<p>If the thread can not be created the program aborts. See
|
663
674
|
<a class="link" href="glib-Threads.html#g-thread-try-new" title="g_thread_try_new ()"><code class="function">g_thread_try_new()</code></a> if you want to attempt to deal with failures.</p>
|
675
|
+
<p>If you are using threads to offload (potentially many) short-lived tasks,
|
676
|
+
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a> may be more appropriate than manually spawning and tracking
|
677
|
+
multiple <a href="glib-Threads.html#GThread"><span class="type">GThreads</span></a>.</p>
|
664
678
|
<p>To free the struct returned by this function, use <a class="link" href="glib-Threads.html#g-thread-unref" title="g_thread_unref ()"><code class="function">g_thread_unref()</code></a>.
|
665
679
|
Note that <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join ()"><code class="function">g_thread_join()</code></a> implicitly unrefs the <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> as well.</p>
|
666
680
|
<div class="refsect3">
|
667
|
-
<a name="id-1.4.3.7.3.
|
668
|
-
<div class="informaltable"><table width="100%" border="0">
|
681
|
+
<a name="id-1.4.3.7.3.9"></a><h4>Parameters</h4>
|
682
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
669
683
|
<colgroup>
|
670
684
|
<col width="150px" class="parameters_name">
|
671
685
|
<col class="parameters_description">
|
@@ -691,11 +705,10 @@ Note that <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread
|
|
691
705
|
</table></div>
|
692
706
|
</div>
|
693
707
|
<div class="refsect3">
|
694
|
-
<a name="id-1.4.3.7.3.
|
708
|
+
<a name="id-1.4.3.7.3.10"></a><h4>Returns</h4>
|
695
709
|
<p> the new <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a></p>
|
696
|
-
<p></p>
|
697
710
|
</div>
|
698
|
-
<p class="since">Since 2.32</p>
|
711
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
699
712
|
</div>
|
700
713
|
<hr>
|
701
714
|
<div class="refsect2">
|
@@ -712,7 +725,7 @@ it allows for the possibility of failure.</p>
|
|
712
725
|
is set and <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned.</p>
|
713
726
|
<div class="refsect3">
|
714
727
|
<a name="id-1.4.3.7.4.6"></a><h4>Parameters</h4>
|
715
|
-
<div class="informaltable"><table width="100%" border="0">
|
728
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
716
729
|
<colgroup>
|
717
730
|
<col width="150px" class="parameters_name">
|
718
731
|
<col class="parameters_description">
|
@@ -745,9 +758,8 @@ it allows for the possibility of failure.</p>
|
|
745
758
|
<div class="refsect3">
|
746
759
|
<a name="id-1.4.3.7.4.7"></a><h4>Returns</h4>
|
747
760
|
<p> the new <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if an error occurred</p>
|
748
|
-
<p></p>
|
749
761
|
</div>
|
750
|
-
<p class="since">Since 2.32</p>
|
762
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
751
763
|
</div>
|
752
764
|
<hr>
|
753
765
|
<div class="refsect2">
|
@@ -758,7 +770,7 @@ g_thread_ref (<em class="parameter"><code><a class="link" href="glib-Threads.htm
|
|
758
770
|
.</p>
|
759
771
|
<div class="refsect3">
|
760
772
|
<a name="id-1.4.3.7.5.5"></a><h4>Parameters</h4>
|
761
|
-
<div class="informaltable"><table width="100%" border="0">
|
773
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
762
774
|
<colgroup>
|
763
775
|
<col width="150px" class="parameters_name">
|
764
776
|
<col class="parameters_description">
|
@@ -775,9 +787,8 @@ g_thread_ref (<em class="parameter"><code><a class="link" href="glib-Threads.htm
|
|
775
787
|
<a name="id-1.4.3.7.5.6"></a><h4>Returns</h4>
|
776
788
|
<p> a new reference to <em class="parameter"><code>thread</code></em>
|
777
789
|
</p>
|
778
|
-
<p></p>
|
779
790
|
</div>
|
780
|
-
<p class="since">Since 2.32</p>
|
791
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
781
792
|
</div>
|
782
793
|
<hr>
|
783
794
|
<div class="refsect2">
|
@@ -792,7 +803,7 @@ it is running, so it is safe to drop your own reference to it
|
|
792
803
|
if you don't need it anymore.</p>
|
793
804
|
<div class="refsect3">
|
794
805
|
<a name="id-1.4.3.7.6.6"></a><h4>Parameters</h4>
|
795
|
-
<div class="informaltable"><table width="100%" border="0">
|
806
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
796
807
|
<colgroup>
|
797
808
|
<col width="150px" class="parameters_name">
|
798
809
|
<col class="parameters_description">
|
@@ -805,7 +816,7 @@ if you don't need it anymore.</p>
|
|
805
816
|
</tr></tbody>
|
806
817
|
</table></div>
|
807
818
|
</div>
|
808
|
-
<p class="since">Since 2.32</p>
|
819
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
809
820
|
</div>
|
810
821
|
<hr>
|
811
822
|
<div class="refsect2">
|
@@ -833,7 +844,7 @@ to be freed. Use <a class="link" href="glib-Threads.html#g-thread-ref" title="g_
|
|
833
844
|
want to keep the GThread alive beyond the <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join ()"><code class="function">g_thread_join()</code></a> call.</p>
|
834
845
|
<div class="refsect3">
|
835
846
|
<a name="id-1.4.3.7.7.8"></a><h4>Parameters</h4>
|
836
|
-
<div class="informaltable"><table width="100%" border="0">
|
847
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
837
848
|
<colgroup>
|
838
849
|
<col width="150px" class="parameters_name">
|
839
850
|
<col class="parameters_description">
|
@@ -849,7 +860,6 @@ want to keep the GThread alive beyond the <a class="link" href="glib-Threads.htm
|
|
849
860
|
<div class="refsect3">
|
850
861
|
<a name="id-1.4.3.7.7.9"></a><h4>Returns</h4>
|
851
862
|
<p> the return value of the thread</p>
|
852
|
-
<p></p>
|
853
863
|
</div>
|
854
864
|
</div>
|
855
865
|
<hr>
|
@@ -882,7 +892,7 @@ this function from a thread created with another threading library
|
|
882
892
|
or or from within a <a class="link" href="glib-Thread-Pools.html#GThreadPool" title="struct GThreadPool"><span class="type">GThreadPool</span></a>.</p>
|
883
893
|
<div class="refsect3">
|
884
894
|
<a name="id-1.4.3.7.9.8"></a><h4>Parameters</h4>
|
885
|
-
<div class="informaltable"><table width="100%" border="0">
|
895
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
886
896
|
<colgroup>
|
887
897
|
<col width="150px" class="parameters_name">
|
888
898
|
<col class="parameters_description">
|
@@ -912,7 +922,6 @@ as <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join
|
|
912
922
|
<div class="refsect3">
|
913
923
|
<a name="id-1.4.3.7.10.6"></a><h4>Returns</h4>
|
914
924
|
<p> the <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> representing the current thread</p>
|
915
|
-
<p></p>
|
916
925
|
</div>
|
917
926
|
</div>
|
918
927
|
<hr>
|
@@ -938,15 +947,15 @@ statically allocated.</p>
|
|
938
947
|
7
|
939
948
|
8
|
940
949
|
9</pre></td>
|
941
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
942
|
-
|
943
|
-
<span class="
|
944
|
-
<span class="
|
950
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
|
951
|
+
GMutex m<span class="gtkdoc opt">;</span>
|
952
|
+
<span class="gtkdoc opt">...</span>
|
953
|
+
<span class="gtkdoc opt">}</span> Blob<span class="gtkdoc opt">;</span>
|
945
954
|
|
946
|
-
<span class="
|
955
|
+
Blob <span class="gtkdoc opt">*</span>b<span class="gtkdoc opt">;</span>
|
947
956
|
|
948
|
-
<span class="
|
949
|
-
<span class="function"><a href="glib-Threads.html#g-mutex-init">g_mutex_init</a></span
|
957
|
+
b <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-new">g_new</a></span> <span class="gtkdoc opt">(</span>Blob<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
958
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-init">g_mutex_init</a></span> <span class="gtkdoc opt">(&</span>b<span class="gtkdoc opt">-></span>m<span class="gtkdoc opt">);</span></pre></td>
|
950
959
|
</tr>
|
951
960
|
</tbody>
|
952
961
|
</table>
|
@@ -959,7 +968,7 @@ needed, use <a class="link" href="glib-Threads.html#g-mutex-clear" title="g_mute
|
|
959
968
|
to undefined behaviour.</p>
|
960
969
|
<div class="refsect3">
|
961
970
|
<a name="id-1.4.3.7.11.10"></a><h4>Parameters</h4>
|
962
|
-
<div class="informaltable"><table width="100%" border="0">
|
971
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
963
972
|
<colgroup>
|
964
973
|
<col width="150px" class="parameters_name">
|
965
974
|
<col class="parameters_description">
|
@@ -972,7 +981,7 @@ to undefined behaviour.</p>
|
|
972
981
|
</tr></tbody>
|
973
982
|
</table></div>
|
974
983
|
</div>
|
975
|
-
<p class="since">Since 2.32</p>
|
984
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
976
985
|
</div>
|
977
986
|
<hr>
|
978
987
|
<div class="refsect2">
|
@@ -987,7 +996,7 @@ behaviour.</p>
|
|
987
996
|
<p>Sine: 2.32</p>
|
988
997
|
<div class="refsect3">
|
989
998
|
<a name="id-1.4.3.7.12.8"></a><h4>Parameters</h4>
|
990
|
-
<div class="informaltable"><table width="100%" border="0">
|
999
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
991
1000
|
<colgroup>
|
992
1001
|
<col width="150px" class="parameters_name">
|
993
1002
|
<col class="parameters_description">
|
@@ -1018,7 +1027,7 @@ already been locked by the same thread results in undefined behaviour
|
|
1018
1027
|
(including but not limited to deadlocks).</p>
|
1019
1028
|
<div class="refsect3">
|
1020
1029
|
<a name="id-1.4.3.7.13.6"></a><h4>Parameters</h4>
|
1021
|
-
<div class="informaltable"><table width="100%" border="0">
|
1030
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1022
1031
|
<colgroup>
|
1023
1032
|
<col width="150px" class="parameters_name">
|
1024
1033
|
<col class="parameters_description">
|
@@ -1049,7 +1058,7 @@ already been locked by the same thread results in undefined behaviour
|
|
1049
1058
|
(including but not limited to deadlocks or arbitrary return values).</p>
|
1050
1059
|
<div class="refsect3">
|
1051
1060
|
<a name="id-1.4.3.7.14.6"></a><h4>Parameters</h4>
|
1052
|
-
<div class="informaltable"><table width="100%" border="0">
|
1061
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1053
1062
|
<colgroup>
|
1054
1063
|
<col width="150px" class="parameters_name">
|
1055
1064
|
<col class="parameters_description">
|
@@ -1066,7 +1075,6 @@ already been locked by the same thread results in undefined behaviour
|
|
1066
1075
|
<a name="id-1.4.3.7.14.7"></a><h4>Returns</h4>
|
1067
1076
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>mutex</code></em>
|
1068
1077
|
could be locked</p>
|
1069
|
-
<p></p>
|
1070
1078
|
</div>
|
1071
1079
|
</div>
|
1072
1080
|
<hr>
|
@@ -1083,7 +1091,7 @@ call for <em class="parameter"><code>mutex</code></em>
|
|
1083
1091
|
current thread leads to undefined behaviour.</p>
|
1084
1092
|
<div class="refsect3">
|
1085
1093
|
<a name="id-1.4.3.7.15.6"></a><h4>Parameters</h4>
|
1086
|
-
<div class="informaltable"><table width="100%" border="0">
|
1094
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1087
1095
|
<colgroup>
|
1088
1096
|
<col width="150px" class="parameters_name">
|
1089
1097
|
<col class="parameters_description">
|
@@ -1137,29 +1145,29 @@ will only work with those compilers:</p>
|
|
1137
1145
|
21
|
1138
1146
|
22
|
1139
1147
|
23</pre></td>
|
1140
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
1141
|
-
<span class="
|
1142
|
-
<span class="
|
1143
|
-
|
1144
|
-
<span class="
|
1145
|
-
<span class="
|
1148
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span>
|
1149
|
+
<span class="gtkdoc opt">{</span>
|
1150
|
+
<span class="gtkdoc opt">...</span>
|
1151
|
+
GMutex mutex<span class="gtkdoc opt">;</span>
|
1152
|
+
<span class="gtkdoc opt">...</span>
|
1153
|
+
<span class="gtkdoc opt">}</span> MyObject<span class="gtkdoc opt">;</span>
|
1146
1154
|
|
1147
|
-
<span class="
|
1148
|
-
<span class="function">my_object_do_stuff</span
|
1149
|
-
<span class="
|
1150
|
-
<span class="
|
1155
|
+
<span class="gtkdoc kwb">static void</span>
|
1156
|
+
<span class="function">my_object_do_stuff</span> <span class="gtkdoc opt">(</span>MyObject <span class="gtkdoc opt">*</span>self<span class="gtkdoc opt">)</span>
|
1157
|
+
<span class="gtkdoc opt">{</span>
|
1158
|
+
<span class="function"><a href="glib-Miscellaneous-Macros.html#g-autoptr">g_autoptr</a></span><span class="gtkdoc opt">(</span>GMutexLocker<span class="gtkdoc opt">)</span> locker <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Threads.html#g-mutex-locker-new">g_mutex_locker_new</a></span> <span class="gtkdoc opt">(&</span>self<span class="gtkdoc opt">-></span>mutex<span class="gtkdoc opt">);</span>
|
1151
1159
|
|
1152
|
-
<span class="
|
1160
|
+
<span class="gtkdoc slc">// Code with mutex locked here</span>
|
1153
1161
|
|
1154
|
-
<span class="
|
1155
|
-
<span class="
|
1156
|
-
<span class="
|
1162
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>cond<span class="gtkdoc opt">)</span>
|
1163
|
+
<span class="gtkdoc slc">// No need to unlock</span>
|
1164
|
+
<span class="keyword">return</span><span class="gtkdoc opt">;</span>
|
1157
1165
|
|
1158
|
-
<span class="
|
1159
|
-
<span class="
|
1166
|
+
<span class="gtkdoc slc">// Optionally early unlock</span>
|
1167
|
+
<span class="function"><a href="glib-Memory-Allocation.html#g-clear-pointer">g_clear_pointer</a></span> <span class="gtkdoc opt">(&</span>locker<span class="gtkdoc opt">,</span> g_mutex_locker_free<span class="gtkdoc opt">);</span>
|
1160
1168
|
|
1161
|
-
<span class="
|
1162
|
-
<span class="
|
1169
|
+
<span class="gtkdoc slc">// Code with mutex unlocked here</span>
|
1170
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
1163
1171
|
</tr>
|
1164
1172
|
</tbody>
|
1165
1173
|
</table>
|
@@ -1168,7 +1176,7 @@ will only work with those compilers:</p>
|
|
1168
1176
|
<p></p>
|
1169
1177
|
<div class="refsect3">
|
1170
1178
|
<a name="id-1.4.3.7.16.8"></a><h4>Parameters</h4>
|
1171
|
-
<div class="informaltable"><table width="100%" border="0">
|
1179
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1172
1180
|
<colgroup>
|
1173
1181
|
<col width="150px" class="parameters_name">
|
1174
1182
|
<col class="parameters_description">
|
@@ -1184,9 +1192,8 @@ will only work with those compilers:</p>
|
|
1184
1192
|
<div class="refsect3">
|
1185
1193
|
<a name="id-1.4.3.7.16.9"></a><h4>Returns</h4>
|
1186
1194
|
<p> a <a class="link" href="glib-Threads.html#GMutexLocker" title="GMutexLocker"><span class="type">GMutexLocker</span></a></p>
|
1187
|
-
<p></p>
|
1188
1195
|
</div>
|
1189
|
-
<p class="since">Since 2.44</p>
|
1196
|
+
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
1190
1197
|
</div>
|
1191
1198
|
<hr>
|
1192
1199
|
<div class="refsect2">
|
@@ -1197,7 +1204,7 @@ g_mutex_locker_free (<em class="parameter"><code><a class="link" href="glib-Thre
|
|
1197
1204
|
's mutex. See <a class="link" href="glib-Threads.html#g-mutex-locker-new" title="g_mutex_locker_new ()"><code class="function">g_mutex_locker_new()</code></a> for details.</p>
|
1198
1205
|
<div class="refsect3">
|
1199
1206
|
<a name="id-1.4.3.7.17.5"></a><h4>Parameters</h4>
|
1200
|
-
<div class="informaltable"><table width="100%" border="0">
|
1207
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1201
1208
|
<colgroup>
|
1202
1209
|
<col width="150px" class="parameters_name">
|
1203
1210
|
<col class="parameters_description">
|
@@ -1210,7 +1217,7 @@ g_mutex_locker_free (<em class="parameter"><code><a class="link" href="glib-Thre
|
|
1210
1217
|
</tr></tbody>
|
1211
1218
|
</table></div>
|
1212
1219
|
</div>
|
1213
|
-
<p class="since">Since 2.44</p>
|
1220
|
+
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
1214
1221
|
</div>
|
1215
1222
|
<hr>
|
1216
1223
|
<div class="refsect2">
|
@@ -1245,20 +1252,20 @@ of the variable you intend to protect with the lock. Look at our
|
|
1245
1252
|
12
|
1246
1253
|
13
|
1247
1254
|
14</pre></td>
|
1248
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Threads.html#G-LOCK-DEFINE:CAPS">G_LOCK_DEFINE</a></span
|
1255
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="glib-Threads.html#G-LOCK-DEFINE:CAPS">G_LOCK_DEFINE</a></span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
1249
1256
|
|
1250
|
-
<span class="
|
1251
|
-
<span class="function">give_me_next_number</span
|
1252
|
-
<span class="
|
1253
|
-
<span class="
|
1254
|
-
<span class="
|
1257
|
+
<span class="gtkdoc kwb">int</span>
|
1258
|
+
<span class="function">give_me_next_number</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
1259
|
+
<span class="gtkdoc opt">{</span>
|
1260
|
+
<span class="gtkdoc kwb">static int</span> current_number <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
1261
|
+
<span class="gtkdoc kwb">int</span> ret_val<span class="gtkdoc opt">;</span>
|
1255
1262
|
|
1256
|
-
<span class="
|
1257
|
-
|
1258
|
-
<span class="
|
1263
|
+
<span class="function"><a href="glib-Threads.html#G-LOCK:CAPS">G_LOCK</a></span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
1264
|
+
ret_val <span class="gtkdoc opt">=</span> current_number <span class="gtkdoc opt">=</span> <span class="function">calc_next_number</span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
1265
|
+
<span class="function"><a href="glib-Threads.html#G-UNLOCK:CAPS">G_UNLOCK</a></span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
1259
1266
|
|
1260
|
-
<span class="
|
1261
|
-
<span class="
|
1267
|
+
<span class="keyword">return</span> ret_val<span class="gtkdoc opt">;</span>
|
1268
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
1262
1269
|
</tr>
|
1263
1270
|
</tbody>
|
1264
1271
|
</table>
|
@@ -1267,7 +1274,7 @@ of the variable you intend to protect with the lock. Look at our
|
|
1267
1274
|
<p></p>
|
1268
1275
|
<div class="refsect3">
|
1269
1276
|
<a name="id-1.4.3.7.18.8"></a><h4>Parameters</h4>
|
1270
|
-
<div class="informaltable"><table width="100%" border="0">
|
1277
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1271
1278
|
<colgroup>
|
1272
1279
|
<col width="150px" class="parameters_name">
|
1273
1280
|
<col class="parameters_description">
|
@@ -1289,7 +1296,7 @@ of the variable you intend to protect with the lock. Look at our
|
|
1289
1296
|
<p>This works like <a class="link" href="glib-Threads.html#G-LOCK-DEFINE:CAPS" title="G_LOCK_DEFINE()"><span class="type">G_LOCK_DEFINE</span></a>, but it creates a static object.</p>
|
1290
1297
|
<div class="refsect3">
|
1291
1298
|
<a name="id-1.4.3.7.19.5"></a><h4>Parameters</h4>
|
1292
|
-
<div class="informaltable"><table width="100%" border="0">
|
1299
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1293
1300
|
<colgroup>
|
1294
1301
|
<col width="150px" class="parameters_name">
|
1295
1302
|
<col class="parameters_description">
|
@@ -1312,7 +1319,7 @@ of the variable you intend to protect with the lock. Look at our
|
|
1312
1319
|
module.</p>
|
1313
1320
|
<div class="refsect3">
|
1314
1321
|
<a name="id-1.4.3.7.20.5"></a><h4>Parameters</h4>
|
1315
|
-
<div class="informaltable"><table width="100%" border="0">
|
1322
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1316
1323
|
<colgroup>
|
1317
1324
|
<col width="150px" class="parameters_name">
|
1318
1325
|
<col class="parameters_description">
|
@@ -1335,7 +1342,7 @@ module.</p>
|
|
1335
1342
|
<a class="link" href="glib-Threads.html#G-LOCK-DEFINE:CAPS" title="G_LOCK_DEFINE()"><span class="type">G_LOCK_DEFINE</span></a>.</p>
|
1336
1343
|
<div class="refsect3">
|
1337
1344
|
<a name="id-1.4.3.7.21.5"></a><h4>Parameters</h4>
|
1338
|
-
<div class="informaltable"><table width="100%" border="0">
|
1345
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1339
1346
|
<colgroup>
|
1340
1347
|
<col width="150px" class="parameters_name">
|
1341
1348
|
<col class="parameters_description">
|
@@ -1358,7 +1365,7 @@ module.</p>
|
|
1358
1365
|
<a class="link" href="glib-Threads.html#G-LOCK-DEFINE:CAPS" title="G_LOCK_DEFINE()"><span class="type">G_LOCK_DEFINE</span></a>.</p>
|
1359
1366
|
<div class="refsect3">
|
1360
1367
|
<a name="id-1.4.3.7.22.5"></a><h4>Parameters</h4>
|
1361
|
-
<div class="informaltable"><table width="100%" border="0">
|
1368
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1362
1369
|
<colgroup>
|
1363
1370
|
<col width="150px" class="parameters_name">
|
1364
1371
|
<col class="parameters_description">
|
@@ -1374,7 +1381,6 @@ module.</p>
|
|
1374
1381
|
<div class="refsect3">
|
1375
1382
|
<a name="id-1.4.3.7.22.6"></a><h4>Returns</h4>
|
1376
1383
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, if the lock could be locked.</p>
|
1377
|
-
<p></p>
|
1378
1384
|
</div>
|
1379
1385
|
</div>
|
1380
1386
|
<hr>
|
@@ -1386,7 +1392,7 @@ module.</p>
|
|
1386
1392
|
<a class="link" href="glib-Threads.html#G-LOCK-DEFINE:CAPS" title="G_LOCK_DEFINE()"><span class="type">G_LOCK_DEFINE</span></a>.</p>
|
1387
1393
|
<div class="refsect3">
|
1388
1394
|
<a name="id-1.4.3.7.23.5"></a><h4>Parameters</h4>
|
1389
|
-
<div class="informaltable"><table width="100%" border="0">
|
1395
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1390
1396
|
<colgroup>
|
1391
1397
|
<col width="150px" class="parameters_name">
|
1392
1398
|
<col class="parameters_description">
|
@@ -1424,15 +1430,15 @@ statically allocated.</p>
|
|
1424
1430
|
7
|
1425
1431
|
8
|
1426
1432
|
9</pre></td>
|
1427
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
1428
|
-
|
1429
|
-
<span class="
|
1430
|
-
<span class="
|
1433
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
|
1434
|
+
GRecMutex m<span class="gtkdoc opt">;</span>
|
1435
|
+
<span class="gtkdoc opt">...</span>
|
1436
|
+
<span class="gtkdoc opt">}</span> Blob<span class="gtkdoc opt">;</span>
|
1431
1437
|
|
1432
|
-
<span class="
|
1438
|
+
Blob <span class="gtkdoc opt">*</span>b<span class="gtkdoc opt">;</span>
|
1433
1439
|
|
1434
|
-
<span class="
|
1435
|
-
<span class="function"><a href="glib-Threads.html#g-rec-mutex-init">g_rec_mutex_init</a></span
|
1440
|
+
b <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-new">g_new</a></span> <span class="gtkdoc opt">(</span>Blob<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
1441
|
+
<span class="function"><a href="glib-Threads.html#g-rec-mutex-init">g_rec_mutex_init</a></span> <span class="gtkdoc opt">(&</span>b<span class="gtkdoc opt">-></span>m<span class="gtkdoc opt">);</span></pre></td>
|
1436
1442
|
</tr>
|
1437
1443
|
</tbody>
|
1438
1444
|
</table>
|
@@ -1445,7 +1451,7 @@ leads to undefined behaviour.</p>
|
|
1445
1451
|
is no longer needed, use <a class="link" href="glib-Threads.html#g-rec-mutex-clear" title="g_rec_mutex_clear ()"><code class="function">g_rec_mutex_clear()</code></a>.</p>
|
1446
1452
|
<div class="refsect3">
|
1447
1453
|
<a name="id-1.4.3.7.24.11"></a><h4>Parameters</h4>
|
1448
|
-
<div class="informaltable"><table width="100%" border="0">
|
1454
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1449
1455
|
<colgroup>
|
1450
1456
|
<col width="150px" class="parameters_name">
|
1451
1457
|
<col class="parameters_description">
|
@@ -1458,7 +1464,7 @@ is no longer needed, use <a class="link" href="glib-Threads.html#g-rec-mutex-cle
|
|
1458
1464
|
</tr></tbody>
|
1459
1465
|
</table></div>
|
1460
1466
|
</div>
|
1461
|
-
<p class="since">Since 2.32</p>
|
1467
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1462
1468
|
</div>
|
1463
1469
|
<hr>
|
1464
1470
|
<div class="refsect2">
|
@@ -1474,7 +1480,7 @@ to undefined behaviour.</p>
|
|
1474
1480
|
<p>Sine: 2.32</p>
|
1475
1481
|
<div class="refsect3">
|
1476
1482
|
<a name="id-1.4.3.7.25.8"></a><h4>Parameters</h4>
|
1477
|
-
<div class="informaltable"><table width="100%" border="0">
|
1483
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1478
1484
|
<colgroup>
|
1479
1485
|
<col width="150px" class="parameters_name">
|
1480
1486
|
<col class="parameters_description">
|
@@ -1506,7 +1512,7 @@ The mutex will only become available again when it is unlocked
|
|
1506
1512
|
as many times as it has been locked.</p>
|
1507
1513
|
<div class="refsect3">
|
1508
1514
|
<a name="id-1.4.3.7.26.5"></a><h4>Parameters</h4>
|
1509
|
-
<div class="informaltable"><table width="100%" border="0">
|
1515
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1510
1516
|
<colgroup>
|
1511
1517
|
<col width="150px" class="parameters_name">
|
1512
1518
|
<col class="parameters_description">
|
@@ -1519,7 +1525,7 @@ as many times as it has been locked.</p>
|
|
1519
1525
|
</tr></tbody>
|
1520
1526
|
</table></div>
|
1521
1527
|
</div>
|
1522
|
-
<p class="since">Since 2.32</p>
|
1528
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1523
1529
|
</div>
|
1524
1530
|
<hr>
|
1525
1531
|
<div class="refsect2">
|
@@ -1534,7 +1540,7 @@ it locks <em class="parameter"><code>rec_mutex</code></em>
|
|
1534
1540
|
and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.</p>
|
1535
1541
|
<div class="refsect3">
|
1536
1542
|
<a name="id-1.4.3.7.27.5"></a><h4>Parameters</h4>
|
1537
|
-
<div class="informaltable"><table width="100%" border="0">
|
1543
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1538
1544
|
<colgroup>
|
1539
1545
|
<col width="150px" class="parameters_name">
|
1540
1546
|
<col class="parameters_description">
|
@@ -1551,9 +1557,8 @@ it locks <em class="parameter"><code>rec_mutex</code></em>
|
|
1551
1557
|
<a name="id-1.4.3.7.27.6"></a><h4>Returns</h4>
|
1552
1558
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>rec_mutex</code></em>
|
1553
1559
|
could be locked</p>
|
1554
|
-
<p></p>
|
1555
1560
|
</div>
|
1556
|
-
<p class="since">Since 2.32</p>
|
1561
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1557
1562
|
</div>
|
1558
1563
|
<hr>
|
1559
1564
|
<div class="refsect2">
|
@@ -1570,7 +1575,7 @@ and can lock <em class="parameter"><code>rec_mutex</code></em>
|
|
1570
1575
|
locked by the current thread leads to undefined behaviour.</p>
|
1571
1576
|
<div class="refsect3">
|
1572
1577
|
<a name="id-1.4.3.7.28.6"></a><h4>Parameters</h4>
|
1573
|
-
<div class="informaltable"><table width="100%" border="0">
|
1578
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1574
1579
|
<colgroup>
|
1575
1580
|
<col width="150px" class="parameters_name">
|
1576
1581
|
<col class="parameters_description">
|
@@ -1583,7 +1588,7 @@ locked by the current thread leads to undefined behaviour.</p>
|
|
1583
1588
|
</tr></tbody>
|
1584
1589
|
</table></div>
|
1585
1590
|
</div>
|
1586
|
-
<p class="since">Since 2.32</p>
|
1591
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1587
1592
|
</div>
|
1588
1593
|
<hr>
|
1589
1594
|
<div class="refsect2">
|
@@ -1608,15 +1613,15 @@ allocated.</p>
|
|
1608
1613
|
7
|
1609
1614
|
8
|
1610
1615
|
9</pre></td>
|
1611
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
1612
|
-
|
1613
|
-
<span class="
|
1614
|
-
<span class="
|
1616
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="gtkdoc opt">{</span>
|
1617
|
+
GRWLock l<span class="gtkdoc opt">;</span>
|
1618
|
+
<span class="gtkdoc opt">...</span>
|
1619
|
+
<span class="gtkdoc opt">}</span> Blob<span class="gtkdoc opt">;</span>
|
1615
1620
|
|
1616
|
-
<span class="
|
1621
|
+
Blob <span class="gtkdoc opt">*</span>b<span class="gtkdoc opt">;</span>
|
1617
1622
|
|
1618
|
-
<span class="
|
1619
|
-
<span class="function"><a href="glib-Threads.html#g-rw-lock-init">g_rw_lock_init</a></span
|
1623
|
+
b <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Memory-Allocation.html#g-new">g_new</a></span> <span class="gtkdoc opt">(</span>Blob<span class="gtkdoc opt">,</span> <span class="number">1</span><span class="gtkdoc opt">);</span>
|
1624
|
+
<span class="function"><a href="glib-Threads.html#g-rw-lock-init">g_rw_lock_init</a></span> <span class="gtkdoc opt">(&</span>b<span class="gtkdoc opt">-></span>l<span class="gtkdoc opt">);</span></pre></td>
|
1620
1625
|
</tr>
|
1621
1626
|
</tbody>
|
1622
1627
|
</table>
|
@@ -1629,7 +1634,7 @@ needed, use <a class="link" href="glib-Threads.html#g-rw-lock-clear" title="g_rw
|
|
1629
1634
|
to undefined behaviour.</p>
|
1630
1635
|
<div class="refsect3">
|
1631
1636
|
<a name="id-1.4.3.7.29.10"></a><h4>Parameters</h4>
|
1632
|
-
<div class="informaltable"><table width="100%" border="0">
|
1637
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1633
1638
|
<colgroup>
|
1634
1639
|
<col width="150px" class="parameters_name">
|
1635
1640
|
<col class="parameters_description">
|
@@ -1642,7 +1647,7 @@ to undefined behaviour.</p>
|
|
1642
1647
|
</tr></tbody>
|
1643
1648
|
</table></div>
|
1644
1649
|
</div>
|
1645
|
-
<p class="since">Since 2.32</p>
|
1650
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1646
1651
|
</div>
|
1647
1652
|
<hr>
|
1648
1653
|
<div class="refsect2">
|
@@ -1657,7 +1662,7 @@ leads to undefined behaviour.</p>
|
|
1657
1662
|
<p>Sine: 2.32</p>
|
1658
1663
|
<div class="refsect3">
|
1659
1664
|
<a name="id-1.4.3.7.30.8"></a><h4>Parameters</h4>
|
1660
|
-
<div class="informaltable"><table width="100%" border="0">
|
1665
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1661
1666
|
<colgroup>
|
1662
1667
|
<col width="150px" class="parameters_name">
|
1663
1668
|
<col class="parameters_description">
|
@@ -1684,7 +1689,7 @@ until all other threads have dropped their locks on <em class="parameter"><code>
|
|
1684
1689
|
.</p>
|
1685
1690
|
<div class="refsect3">
|
1686
1691
|
<a name="id-1.4.3.7.31.5"></a><h4>Parameters</h4>
|
1687
|
-
<div class="informaltable"><table width="100%" border="0">
|
1692
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1688
1693
|
<colgroup>
|
1689
1694
|
<col width="150px" class="parameters_name">
|
1690
1695
|
<col class="parameters_description">
|
@@ -1697,7 +1702,7 @@ until all other threads have dropped their locks on <em class="parameter"><code>
|
|
1697
1702
|
</tr></tbody>
|
1698
1703
|
</table></div>
|
1699
1704
|
</div>
|
1700
|
-
<p class="since">Since 2.32</p>
|
1705
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1701
1706
|
</div>
|
1702
1707
|
<hr>
|
1703
1708
|
<div class="refsect2">
|
@@ -1712,7 +1717,7 @@ Otherwise it locks <em class="parameter"><code>rw_lock</code></em>
|
|
1712
1717
|
and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.</p>
|
1713
1718
|
<div class="refsect3">
|
1714
1719
|
<a name="id-1.4.3.7.32.5"></a><h4>Parameters</h4>
|
1715
|
-
<div class="informaltable"><table width="100%" border="0">
|
1720
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1716
1721
|
<colgroup>
|
1717
1722
|
<col width="150px" class="parameters_name">
|
1718
1723
|
<col class="parameters_description">
|
@@ -1729,9 +1734,8 @@ Otherwise it locks <em class="parameter"><code>rw_lock</code></em>
|
|
1729
1734
|
<a name="id-1.4.3.7.32.6"></a><h4>Returns</h4>
|
1730
1735
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>rw_lock</code></em>
|
1731
1736
|
could be locked</p>
|
1732
|
-
<p></p>
|
1733
1737
|
</div>
|
1734
|
-
<p class="since">Since 2.32</p>
|
1738
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1735
1739
|
</div>
|
1736
1740
|
<hr>
|
1737
1741
|
<div class="refsect2">
|
@@ -1744,7 +1748,7 @@ g_rw_lock_writer_unlock (<em class="parameter"><code><a class="link" href="glib-
|
|
1744
1748
|
by the current thread leads to undefined behaviour.</p>
|
1745
1749
|
<div class="refsect3">
|
1746
1750
|
<a name="id-1.4.3.7.33.6"></a><h4>Parameters</h4>
|
1747
|
-
<div class="informaltable"><table width="100%" border="0">
|
1751
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1748
1752
|
<colgroup>
|
1749
1753
|
<col width="150px" class="parameters_name">
|
1750
1754
|
<col class="parameters_description">
|
@@ -1757,7 +1761,7 @@ by the current thread leads to undefined behaviour.</p>
|
|
1757
1761
|
</tr></tbody>
|
1758
1762
|
</table></div>
|
1759
1763
|
</div>
|
1760
|
-
<p class="since">Since 2.32</p>
|
1764
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1761
1765
|
</div>
|
1762
1766
|
<hr>
|
1763
1767
|
<div class="refsect2">
|
@@ -1773,7 +1777,7 @@ thread will block. Read locks can be taken recursively.</p>
|
|
1773
1777
|
hold read locks on the same lock simultaneously.</p>
|
1774
1778
|
<div class="refsect3">
|
1775
1779
|
<a name="id-1.4.3.7.34.6"></a><h4>Parameters</h4>
|
1776
|
-
<div class="informaltable"><table width="100%" border="0">
|
1780
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1777
1781
|
<colgroup>
|
1778
1782
|
<col width="150px" class="parameters_name">
|
1779
1783
|
<col class="parameters_description">
|
@@ -1786,7 +1790,7 @@ hold read locks on the same lock simultaneously.</p>
|
|
1786
1790
|
</tr></tbody>
|
1787
1791
|
</table></div>
|
1788
1792
|
</div>
|
1789
|
-
<p class="since">Since 2.32</p>
|
1793
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1790
1794
|
</div>
|
1791
1795
|
<hr>
|
1792
1796
|
<div class="refsect2">
|
@@ -1799,7 +1803,7 @@ the read lock was successfully obtained. Otherwise it
|
|
1799
1803
|
returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.</p>
|
1800
1804
|
<div class="refsect3">
|
1801
1805
|
<a name="id-1.4.3.7.35.5"></a><h4>Parameters</h4>
|
1802
|
-
<div class="informaltable"><table width="100%" border="0">
|
1806
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1803
1807
|
<colgroup>
|
1804
1808
|
<col width="150px" class="parameters_name">
|
1805
1809
|
<col class="parameters_description">
|
@@ -1816,9 +1820,8 @@ returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE
|
|
1816
1820
|
<a name="id-1.4.3.7.35.6"></a><h4>Returns</h4>
|
1817
1821
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>rw_lock</code></em>
|
1818
1822
|
could be locked</p>
|
1819
|
-
<p></p>
|
1820
1823
|
</div>
|
1821
|
-
<p class="since">Since 2.32</p>
|
1824
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1822
1825
|
</div>
|
1823
1826
|
<hr>
|
1824
1827
|
<div class="refsect2">
|
@@ -1831,7 +1834,7 @@ g_rw_lock_reader_unlock (<em class="parameter"><code><a class="link" href="glib-
|
|
1831
1834
|
by the current thread leads to undefined behaviour.</p>
|
1832
1835
|
<div class="refsect3">
|
1833
1836
|
<a name="id-1.4.3.7.36.6"></a><h4>Parameters</h4>
|
1834
|
-
<div class="informaltable"><table width="100%" border="0">
|
1837
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1835
1838
|
<colgroup>
|
1836
1839
|
<col width="150px" class="parameters_name">
|
1837
1840
|
<col class="parameters_description">
|
@@ -1844,7 +1847,7 @@ by the current thread leads to undefined behaviour.</p>
|
|
1844
1847
|
</tr></tbody>
|
1845
1848
|
</table></div>
|
1846
1849
|
</div>
|
1847
|
-
<p class="since">Since 2.32</p>
|
1850
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1848
1851
|
</div>
|
1849
1852
|
<hr>
|
1850
1853
|
<div class="refsect2">
|
@@ -1861,7 +1864,7 @@ needed, use <a class="link" href="glib-Threads.html#g-cond-clear" title="g_cond_
|
|
1861
1864
|
to undefined behaviour.</p>
|
1862
1865
|
<div class="refsect3">
|
1863
1866
|
<a name="id-1.4.3.7.37.8"></a><h4>Parameters</h4>
|
1864
|
-
<div class="informaltable"><table width="100%" border="0">
|
1867
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1865
1868
|
<colgroup>
|
1866
1869
|
<col width="150px" class="parameters_name">
|
1867
1870
|
<col class="parameters_description">
|
@@ -1874,7 +1877,7 @@ to undefined behaviour.</p>
|
|
1874
1877
|
</tr></tbody>
|
1875
1878
|
</table></div>
|
1876
1879
|
</div>
|
1877
|
-
<p class="since">Since 2.32</p>
|
1880
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1878
1881
|
</div>
|
1879
1882
|
<hr>
|
1880
1883
|
<div class="refsect2">
|
@@ -1888,7 +1891,7 @@ statically allocated.</p>
|
|
1888
1891
|
blocking leads to undefined behaviour.</p>
|
1889
1892
|
<div class="refsect3">
|
1890
1893
|
<a name="id-1.4.3.7.38.7"></a><h4>Parameters</h4>
|
1891
|
-
<div class="informaltable"><table width="100%" border="0">
|
1894
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1892
1895
|
<colgroup>
|
1893
1896
|
<col width="150px" class="parameters_name">
|
1894
1897
|
<col class="parameters_description">
|
@@ -1901,7 +1904,7 @@ blocking leads to undefined behaviour.</p>
|
|
1901
1904
|
</tr></tbody>
|
1902
1905
|
</table></div>
|
1903
1906
|
</div>
|
1904
|
-
<p class="since">Since 2.32</p>
|
1907
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
1905
1908
|
</div>
|
1906
1909
|
<hr>
|
1907
1910
|
<div class="refsect2">
|
@@ -1927,7 +1930,7 @@ condition is no longer met.</p>
|
|
1927
1930
|
the documentation for <a class="link" href="glib-Threads.html#GCond" title="struct GCond"><span class="type">GCond</span></a> for a complete example.</p>
|
1928
1931
|
<div class="refsect3">
|
1929
1932
|
<a name="id-1.4.3.7.39.7"></a><h4>Parameters</h4>
|
1930
|
-
<div class="informaltable"><table width="100%" border="0">
|
1933
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1931
1934
|
<colgroup>
|
1932
1935
|
<col width="150px" class="parameters_name">
|
1933
1936
|
<col class="parameters_description">
|
@@ -1974,7 +1977,7 @@ called, and, in that case, will immediately return <a class="link" href="glib-St
|
|
1974
1977
|
and <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-add" title="g_time_val_add ()"><code class="function">g_time_val_add()</code></a> can be used.</p>
|
1975
1978
|
<div class="refsect3">
|
1976
1979
|
<a name="id-1.4.3.7.40.9"></a><h4>Parameters</h4>
|
1977
|
-
<div class="informaltable"><table width="100%" border="0">
|
1980
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1978
1981
|
<colgroup>
|
1979
1982
|
<col width="150px" class="parameters_name">
|
1980
1983
|
<col class="parameters_description">
|
@@ -2003,7 +2006,6 @@ and <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-add" titl
|
|
2003
2006
|
<a name="id-1.4.3.7.40.10"></a><h4>Returns</h4>
|
2004
2007
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cond</code></em>
|
2005
2008
|
was signalled, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> on timeout</p>
|
2006
|
-
<p></p>
|
2007
2009
|
</div>
|
2008
2010
|
</div>
|
2009
2011
|
<hr>
|
@@ -2055,31 +2057,31 @@ documentation for <a class="link" href="glib-Threads.html#GCond" title="struct G
|
|
2055
2057
|
23
|
2056
2058
|
24
|
2057
2059
|
25</pre></td>
|
2058
|
-
<td class="listing_code"><pre class="programlisting"
|
2059
|
-
<span class="function">pop_data_timed</span
|
2060
|
-
<span class="
|
2061
|
-
|
2062
|
-
|
2060
|
+
<td class="listing_code"><pre class="programlisting">gpointer
|
2061
|
+
<span class="function">pop_data_timed</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2062
|
+
<span class="gtkdoc opt">{</span>
|
2063
|
+
gint64 end_time<span class="gtkdoc opt">;</span>
|
2064
|
+
gpointer data<span class="gtkdoc opt">;</span>
|
2063
2065
|
|
2064
|
-
<span class="
|
2066
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-lock">g_mutex_lock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
2065
2067
|
|
2066
|
-
|
2067
|
-
<span class="
|
2068
|
-
<span class="
|
2069
|
-
<span class="
|
2070
|
-
<span class="
|
2071
|
-
<span class="
|
2072
|
-
<span class="
|
2073
|
-
<span class="
|
2068
|
+
end_time <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Date-and-Time-Functions.html#g-get-monotonic-time">g_get_monotonic_time</a></span> <span class="gtkdoc opt">() +</span> <span class="number">5</span> <span class="gtkdoc opt">*</span> G_TIME_SPAN_SECOND<span class="gtkdoc opt">;</span>
|
2069
|
+
<span class="keyword">while</span> <span class="gtkdoc opt">(!</span>current_data<span class="gtkdoc opt">)</span>
|
2070
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span><span class="function"><a href="glib-Threads.html#g-cond-wait-until">g_cond_wait_until</a></span> <span class="gtkdoc opt">(&</span>data_cond<span class="gtkdoc opt">, &</span>data_mutex<span class="gtkdoc opt">,</span> end_time<span class="gtkdoc opt">))</span>
|
2071
|
+
<span class="gtkdoc opt">{</span>
|
2072
|
+
<span class="gtkdoc slc">// timeout has passed.</span>
|
2073
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-unlock">g_mutex_unlock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
2074
|
+
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span>
|
2075
|
+
<span class="gtkdoc opt">}</span>
|
2074
2076
|
|
2075
|
-
<span class="
|
2076
|
-
|
2077
|
-
|
2077
|
+
<span class="gtkdoc slc">// there is data for us</span>
|
2078
|
+
data <span class="gtkdoc opt">=</span> current_data<span class="gtkdoc opt">;</span>
|
2079
|
+
current_data <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
2078
2080
|
|
2079
|
-
<span class="
|
2081
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-unlock">g_mutex_unlock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
2080
2082
|
|
2081
|
-
<span class="
|
2082
|
-
<span class="
|
2083
|
+
<span class="keyword">return</span> data<span class="gtkdoc opt">;</span>
|
2084
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2083
2085
|
</tr>
|
2084
2086
|
</tbody>
|
2085
2087
|
</table>
|
@@ -2094,7 +2096,7 @@ have to start over waiting again (which would lead to a total wait
|
|
2094
2096
|
time of more than 5 seconds).</p>
|
2095
2097
|
<div class="refsect3">
|
2096
2098
|
<a name="id-1.4.3.7.41.11"></a><h4>Parameters</h4>
|
2097
|
-
<div class="informaltable"><table width="100%" border="0">
|
2099
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2098
2100
|
<colgroup>
|
2099
2101
|
<col width="150px" class="parameters_name">
|
2100
2102
|
<col class="parameters_description">
|
@@ -2122,9 +2124,8 @@ time of more than 5 seconds).</p>
|
|
2122
2124
|
<div class="refsect3">
|
2123
2125
|
<a name="id-1.4.3.7.41.12"></a><h4>Returns</h4>
|
2124
2126
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> on a signal, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> on a timeout</p>
|
2125
|
-
<p></p>
|
2126
2127
|
</div>
|
2127
|
-
<p class="since">Since 2.32</p>
|
2128
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2128
2129
|
</div>
|
2129
2130
|
<hr>
|
2130
2131
|
<div class="refsect2">
|
@@ -2139,7 +2140,7 @@ It is good practice to hold the same lock as the waiting thread
|
|
2139
2140
|
while calling this function, though not required.</p>
|
2140
2141
|
<div class="refsect3">
|
2141
2142
|
<a name="id-1.4.3.7.42.5"></a><h4>Parameters</h4>
|
2142
|
-
<div class="informaltable"><table width="100%" border="0">
|
2143
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2143
2144
|
<colgroup>
|
2144
2145
|
<col width="150px" class="parameters_name">
|
2145
2146
|
<col class="parameters_description">
|
@@ -2166,7 +2167,7 @@ It is good practice to lock the same mutex as the waiting threads
|
|
2166
2167
|
while calling this function, though not required.</p>
|
2167
2168
|
<div class="refsect3">
|
2168
2169
|
<a name="id-1.4.3.7.43.5"></a><h4>Parameters</h4>
|
2169
|
-
<div class="informaltable"><table width="100%" border="0">
|
2170
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2170
2171
|
<colgroup>
|
2171
2172
|
<col width="150px" class="parameters_name">
|
2172
2173
|
<col class="parameters_description">
|
@@ -2229,35 +2230,35 @@ examples below.</p>
|
|
2229
2230
|
27
|
2230
2231
|
28
|
2231
2232
|
29</pre></td>
|
2232
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
2233
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> GPrivate name_key <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Threads.html#G-PRIVATE-INIT:CAPS">G_PRIVATE_INIT</a></span> <span class="gtkdoc opt">(</span>g_free<span class="gtkdoc opt">);</span>
|
2233
2234
|
|
2234
|
-
<span class="
|
2235
|
-
<span class="
|
2236
|
-
<span class="function">get_local_name</span
|
2237
|
-
<span class="
|
2238
|
-
<span class="
|
2239
|
-
<span class="
|
2235
|
+
<span class="gtkdoc slc">// return value should not be freed</span>
|
2236
|
+
<span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>
|
2237
|
+
<span class="function">get_local_name</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2238
|
+
<span class="gtkdoc opt">{</span>
|
2239
|
+
<span class="keyword">return</span> <span class="function"><a href="glib-Threads.html#g-private-get">g_private_get</a></span> <span class="gtkdoc opt">(&</span>name_key<span class="gtkdoc opt">);</span>
|
2240
|
+
<span class="gtkdoc opt">}</span>
|
2240
2241
|
|
2241
|
-
<span class="
|
2242
|
-
<span class="function">set_local_name</span
|
2243
|
-
<span class="
|
2244
|
-
<span class="
|
2245
|
-
<span class="
|
2242
|
+
<span class="gtkdoc kwb">void</span>
|
2243
|
+
<span class="function">set_local_name</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>name<span class="gtkdoc opt">)</span>
|
2244
|
+
<span class="gtkdoc opt">{</span>
|
2245
|
+
<span class="function"><a href="glib-Threads.html#g-private-replace">g_private_replace</a></span> <span class="gtkdoc opt">(&</span>name_key<span class="gtkdoc opt">,</span> <span class="function"><a href="glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>name<span class="gtkdoc opt">));</span>
|
2246
|
+
<span class="gtkdoc opt">}</span>
|
2246
2247
|
|
2247
2248
|
|
2248
|
-
<span class="
|
2249
|
+
<span class="gtkdoc kwb">static</span> GPrivate count_key<span class="gtkdoc opt">;</span> <span class="gtkdoc slc">// no free function</span>
|
2249
2250
|
|
2250
|
-
|
2251
|
-
<span class="function">get_local_count</span
|
2252
|
-
<span class="
|
2253
|
-
<span class="
|
2254
|
-
<span class="
|
2251
|
+
gint
|
2252
|
+
<span class="function">get_local_count</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2253
|
+
<span class="gtkdoc opt">{</span>
|
2254
|
+
<span class="keyword">return</span> <span class="function"><a href="glib-Type-Conversion-Macros.html#GPOINTER-TO-INT:CAPS">GPOINTER_TO_INT</a></span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-Threads.html#g-private-get">g_private_get</a></span> <span class="gtkdoc opt">(&</span>count_key<span class="gtkdoc opt">));</span>
|
2255
|
+
<span class="gtkdoc opt">}</span>
|
2255
2256
|
|
2256
|
-
<span class="
|
2257
|
-
<span class="function">set_local_count</span
|
2258
|
-
<span class="
|
2259
|
-
<span class="
|
2260
|
-
<span class="
|
2257
|
+
<span class="gtkdoc kwb">void</span>
|
2258
|
+
<span class="function">set_local_count</span> <span class="gtkdoc opt">(</span>gint count<span class="gtkdoc opt">)</span>
|
2259
|
+
<span class="gtkdoc opt">{</span>
|
2260
|
+
<span class="function"><a href="glib-Threads.html#g-private-set">g_private_set</a></span> <span class="gtkdoc opt">(&</span>count_key<span class="gtkdoc opt">,</span> <span class="function"><a href="glib-Type-Conversion-Macros.html#GINT-TO-POINTER:CAPS">GINT_TO_POINTER</a></span> <span class="gtkdoc opt">(</span>count<span class="gtkdoc opt">));</span>
|
2261
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2261
2262
|
</tr>
|
2262
2263
|
</tbody>
|
2263
2264
|
</table>
|
@@ -2266,7 +2267,7 @@ examples below.</p>
|
|
2266
2267
|
<p></p>
|
2267
2268
|
<div class="refsect3">
|
2268
2269
|
<a name="id-1.4.3.7.44.10"></a><h4>Parameters</h4>
|
2269
|
-
<div class="informaltable"><table width="100%" border="0">
|
2270
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2270
2271
|
<colgroup>
|
2271
2272
|
<col width="150px" class="parameters_name">
|
2272
2273
|
<col class="parameters_description">
|
@@ -2279,7 +2280,7 @@ examples below.</p>
|
|
2279
2280
|
</tr></tbody>
|
2280
2281
|
</table></div>
|
2281
2282
|
</div>
|
2282
|
-
<p class="since">Since 2.32</p>
|
2283
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2283
2284
|
</div>
|
2284
2285
|
<hr>
|
2285
2286
|
<div class="refsect2">
|
@@ -2293,7 +2294,7 @@ Values are never copied between threads (when a new thread is
|
|
2293
2294
|
created, for example).</p>
|
2294
2295
|
<div class="refsect3">
|
2295
2296
|
<a name="id-1.4.3.7.45.6"></a><h4>Parameters</h4>
|
2296
|
-
<div class="informaltable"><table width="100%" border="0">
|
2297
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2297
2298
|
<colgroup>
|
2298
2299
|
<col width="150px" class="parameters_name">
|
2299
2300
|
<col class="parameters_description">
|
@@ -2309,7 +2310,6 @@ created, for example).</p>
|
|
2309
2310
|
<div class="refsect3">
|
2310
2311
|
<a name="id-1.4.3.7.45.7"></a><h4>Returns</h4>
|
2311
2312
|
<p> the thread-local value</p>
|
2312
|
-
<p></p>
|
2313
2313
|
</div>
|
2314
2314
|
</div>
|
2315
2315
|
<hr>
|
@@ -2327,7 +2327,7 @@ the <a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNoti
|
|
2327
2327
|
is not called on the old value.</p>
|
2328
2328
|
<div class="refsect3">
|
2329
2329
|
<a name="id-1.4.3.7.46.6"></a><h4>Parameters</h4>
|
2330
|
-
<div class="informaltable"><table width="100%" border="0">
|
2330
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2331
2331
|
<colgroup>
|
2332
2332
|
<col width="150px" class="parameters_name">
|
2333
2333
|
<col class="parameters_description">
|
@@ -2364,7 +2364,7 @@ the previous value was non-<a class="link" href="glib-Standard-Macros.html#NULL:
|
|
2364
2364
|
is run on it.</p>
|
2365
2365
|
<div class="refsect3">
|
2366
2366
|
<a name="id-1.4.3.7.47.6"></a><h4>Parameters</h4>
|
2367
|
-
<div class="informaltable"><table width="100%" border="0">
|
2367
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2368
2368
|
<colgroup>
|
2369
2369
|
<col width="150px" class="parameters_name">
|
2370
2370
|
<col class="parameters_description">
|
@@ -2384,7 +2384,7 @@ the previous value was non-<a class="link" href="glib-Standard-Macros.html#NULL:
|
|
2384
2384
|
</tbody>
|
2385
2385
|
</table></div>
|
2386
2386
|
</div>
|
2387
|
-
<p class="since">Since 2.32</p>
|
2387
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2388
2388
|
</div>
|
2389
2389
|
<hr>
|
2390
2390
|
<div class="refsect2">
|
@@ -2417,15 +2417,15 @@ that the initialization is serialized across multiple threads.</p>
|
|
2417
2417
|
7
|
2418
2418
|
8
|
2419
2419
|
9</pre></td>
|
2420
|
-
<td class="listing_code"><pre class="programlisting"
|
2421
|
-
<span class="function">get_debug_flags</span
|
2422
|
-
<span class="
|
2423
|
-
<span class="
|
2420
|
+
<td class="listing_code"><pre class="programlisting">gpointer
|
2421
|
+
<span class="function">get_debug_flags</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2422
|
+
<span class="gtkdoc opt">{</span>
|
2423
|
+
<span class="gtkdoc kwb">static</span> GOnce my_once <span class="gtkdoc opt">=</span> G_ONCE_INIT<span class="gtkdoc opt">;</span>
|
2424
2424
|
|
2425
|
-
<span class="
|
2425
|
+
<span class="function"><a href="glib-Threads.html#g-once">g_once</a></span> <span class="gtkdoc opt">(&</span>my_once<span class="gtkdoc opt">,</span> parse_debug_flags<span class="gtkdoc opt">,</span> NULL<span class="gtkdoc opt">);</span>
|
2426
2426
|
|
2427
|
-
<span class="
|
2428
|
-
<span class="
|
2427
|
+
<span class="keyword">return</span> my_once<span class="gtkdoc opt">.</span>retval<span class="gtkdoc opt">;</span>
|
2428
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2429
2429
|
</tr>
|
2430
2430
|
</tbody>
|
2431
2431
|
</table>
|
@@ -2434,7 +2434,7 @@ that the initialization is serialized across multiple threads.</p>
|
|
2434
2434
|
<p></p>
|
2435
2435
|
<div class="refsect3">
|
2436
2436
|
<a name="id-1.4.3.7.48.9"></a><h4>Parameters</h4>
|
2437
|
-
<div class="informaltable"><table width="100%" border="0">
|
2437
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2438
2438
|
<colgroup>
|
2439
2439
|
<col width="150px" class="parameters_name">
|
2440
2440
|
<col class="parameters_description">
|
@@ -2463,7 +2463,7 @@ its associated <a class="link" href="glib-Threads.html#GOnce" title="struct GOnc
|
|
2463
2463
|
</tbody>
|
2464
2464
|
</table></div>
|
2465
2465
|
</div>
|
2466
|
-
<p class="since">Since 2.4</p>
|
2466
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
2467
2467
|
</div>
|
2468
2468
|
<hr>
|
2469
2469
|
<div class="refsect2">
|
@@ -2495,16 +2495,16 @@ like this:</p>
|
|
2495
2495
|
8
|
2496
2496
|
9
|
2497
2497
|
10</pre></td>
|
2498
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
2498
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> gsize initialization_value <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
2499
2499
|
|
2500
|
-
<span class="keyword">if</span
|
2501
|
-
<span class="
|
2502
|
-
|
2500
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="glib-Threads.html#g-once-init-enter">g_once_init_enter</a></span> <span class="gtkdoc opt">(&</span>initialization_value<span class="gtkdoc opt">))</span>
|
2501
|
+
<span class="gtkdoc opt">{</span>
|
2502
|
+
gsize setup_value <span class="gtkdoc opt">=</span> <span class="number">42</span><span class="gtkdoc opt">;</span> <span class="gtkdoc slc">// initialization code here</span>
|
2503
2503
|
|
2504
|
-
<span class="
|
2505
|
-
<span class="
|
2504
|
+
<span class="function"><a href="glib-Threads.html#g-once-init-leave">g_once_init_leave</a></span> <span class="gtkdoc opt">(&</span>initialization_value<span class="gtkdoc opt">,</span> setup_value<span class="gtkdoc opt">);</span>
|
2505
|
+
<span class="gtkdoc opt">}</span>
|
2506
2506
|
|
2507
|
-
<span class="
|
2507
|
+
<span class="gtkdoc slc">// use initialization_value here</span></pre></td>
|
2508
2508
|
</tr>
|
2509
2509
|
</tbody>
|
2510
2510
|
</table>
|
@@ -2513,7 +2513,7 @@ like this:</p>
|
|
2513
2513
|
<p></p>
|
2514
2514
|
<div class="refsect3">
|
2515
2515
|
<a name="id-1.4.3.7.49.7"></a><h4>Parameters</h4>
|
2516
|
-
<div class="informaltable"><table width="100%" border="0">
|
2516
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2517
2517
|
<colgroup>
|
2518
2518
|
<col width="150px" class="parameters_name">
|
2519
2519
|
<col class="parameters_description">
|
@@ -2521,8 +2521,9 @@ like this:</p>
|
|
2521
2521
|
</colgroup>
|
2522
2522
|
<tbody><tr>
|
2523
2523
|
<td class="parameter_name"><p>location</p></td>
|
2524
|
-
<td class="parameter_description"><p>location of a static initializable variable
|
2525
|
-
|
2524
|
+
<td class="parameter_description"><p> location of a static initializable variable
|
2525
|
+
containing 0. </p></td>
|
2526
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
2526
2527
|
</tr></tbody>
|
2527
2528
|
</table></div>
|
2528
2529
|
</div>
|
@@ -2530,9 +2531,8 @@ like this:</p>
|
|
2530
2531
|
<a name="id-1.4.3.7.49.8"></a><h4>Returns</h4>
|
2531
2532
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the initialization section should be entered,
|
2532
2533
|
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> and blocks otherwise</p>
|
2533
|
-
<p></p>
|
2534
2534
|
</div>
|
2535
|
-
<p class="since">Since 2.14</p>
|
2535
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
2536
2536
|
</div>
|
2537
2537
|
<hr>
|
2538
2538
|
<div class="refsect2">
|
@@ -2547,7 +2547,7 @@ releases concurrent threads blocking in <a class="link" href="glib-Threads.html#
|
|
2547
2547
|
initialization variable.</p>
|
2548
2548
|
<div class="refsect3">
|
2549
2549
|
<a name="id-1.4.3.7.50.5"></a><h4>Parameters</h4>
|
2550
|
-
<div class="informaltable"><table width="100%" border="0">
|
2550
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2551
2551
|
<colgroup>
|
2552
2552
|
<col width="150px" class="parameters_name">
|
2553
2553
|
<col class="parameters_description">
|
@@ -2556,8 +2556,9 @@ initialization variable.</p>
|
|
2556
2556
|
<tbody>
|
2557
2557
|
<tr>
|
2558
2558
|
<td class="parameter_name"><p>location</p></td>
|
2559
|
-
<td class="parameter_description"><p>location of a static initializable variable
|
2560
|
-
|
2559
|
+
<td class="parameter_description"><p> location of a static initializable variable
|
2560
|
+
containing 0. </p></td>
|
2561
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
2561
2562
|
</tr>
|
2562
2563
|
<tr>
|
2563
2564
|
<td class="parameter_name"><p>result</p></td>
|
@@ -2568,14 +2569,14 @@ initialization variable.</p>
|
|
2568
2569
|
</tbody>
|
2569
2570
|
</table></div>
|
2570
2571
|
</div>
|
2571
|
-
<p class="since">Since 2.14</p>
|
2572
|
+
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
|
2572
2573
|
</div>
|
2573
2574
|
<hr>
|
2574
2575
|
<div class="refsect2">
|
2575
2576
|
<a name="g-bit-lock"></a><h3>g_bit_lock ()</h3>
|
2576
2577
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2577
|
-
g_bit_lock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *address</code></em>,
|
2578
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2578
|
+
g_bit_lock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> *address</code></em>,
|
2579
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2579
2580
|
<p>Sets the indicated <em class="parameter"><code>lock_bit</code></em>
|
2580
2581
|
in <em class="parameter"><code>address</code></em>
|
2581
2582
|
. If the bit is already
|
@@ -2594,7 +2595,7 @@ between 0 and 31 then the result is undefined.</p>
|
|
2594
2595
|
reliably.</p>
|
2595
2596
|
<div class="refsect3">
|
2596
2597
|
<a name="id-1.4.3.7.51.8"></a><h4>Parameters</h4>
|
2597
|
-
<div class="informaltable"><table width="100%" border="0">
|
2598
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2598
2599
|
<colgroup>
|
2599
2600
|
<col width="150px" class="parameters_name">
|
2600
2601
|
<col class="parameters_description">
|
@@ -2614,14 +2615,14 @@ reliably.</p>
|
|
2614
2615
|
</tbody>
|
2615
2616
|
</table></div>
|
2616
2617
|
</div>
|
2617
|
-
<p class="since">Since 2.24</p>
|
2618
|
+
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
2618
2619
|
</div>
|
2619
2620
|
<hr>
|
2620
2621
|
<div class="refsect2">
|
2621
2622
|
<a name="g-bit-trylock"></a><h3>g_bit_trylock ()</h3>
|
2622
2623
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
2623
|
-
g_bit_trylock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *address</code></em>,
|
2624
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2624
|
+
g_bit_trylock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> *address</code></em>,
|
2625
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2625
2626
|
<p>Sets the indicated <em class="parameter"><code>lock_bit</code></em>
|
2626
2627
|
in <em class="parameter"><code>address</code></em>
|
2627
2628
|
, returning <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if
|
@@ -2639,7 +2640,7 @@ between 0 and 31 then the result is undefined.</p>
|
|
2639
2640
|
reliably.</p>
|
2640
2641
|
<div class="refsect3">
|
2641
2642
|
<a name="id-1.4.3.7.52.8"></a><h4>Parameters</h4>
|
2642
|
-
<div class="informaltable"><table width="100%" border="0">
|
2643
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2643
2644
|
<colgroup>
|
2644
2645
|
<col width="150px" class="parameters_name">
|
2645
2646
|
<col class="parameters_description">
|
@@ -2662,16 +2663,15 @@ reliably.</p>
|
|
2662
2663
|
<div class="refsect3">
|
2663
2664
|
<a name="id-1.4.3.7.52.9"></a><h4>Returns</h4>
|
2664
2665
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the lock was acquired</p>
|
2665
|
-
<p></p>
|
2666
2666
|
</div>
|
2667
|
-
<p class="since">Since 2.24</p>
|
2667
|
+
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
2668
2668
|
</div>
|
2669
2669
|
<hr>
|
2670
2670
|
<div class="refsect2">
|
2671
2671
|
<a name="g-bit-unlock"></a><h3>g_bit_unlock ()</h3>
|
2672
2672
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2673
|
-
g_bit_unlock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *address</code></em>,
|
2674
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2673
|
+
g_bit_unlock (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> *address</code></em>,
|
2674
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2675
2675
|
<p>Clears the indicated <em class="parameter"><code>lock_bit</code></em>
|
2676
2676
|
in <em class="parameter"><code>address</code></em>
|
2677
2677
|
. If another thread is
|
@@ -2684,7 +2684,7 @@ woken up.</p>
|
|
2684
2684
|
reliably.</p>
|
2685
2685
|
<div class="refsect3">
|
2686
2686
|
<a name="id-1.4.3.7.53.6"></a><h4>Parameters</h4>
|
2687
|
-
<div class="informaltable"><table width="100%" border="0">
|
2687
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2688
2688
|
<colgroup>
|
2689
2689
|
<col width="150px" class="parameters_name">
|
2690
2690
|
<col class="parameters_description">
|
@@ -2704,21 +2704,21 @@ reliably.</p>
|
|
2704
2704
|
</tbody>
|
2705
2705
|
</table></div>
|
2706
2706
|
</div>
|
2707
|
-
<p class="since">Since 2.24</p>
|
2707
|
+
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
2708
2708
|
</div>
|
2709
2709
|
<hr>
|
2710
2710
|
<div class="refsect2">
|
2711
2711
|
<a name="g-pointer-bit-lock"></a><h3>g_pointer_bit_lock ()</h3>
|
2712
2712
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2713
2713
|
g_pointer_bit_lock (<em class="parameter"><code>volatile <span class="type">void</span> *address</code></em>,
|
2714
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2714
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2715
2715
|
<p>This is equivalent to g_bit_lock, but working on pointers (or other
|
2716
2716
|
pointer-sized values).</p>
|
2717
2717
|
<p>For portability reasons, you may only lock on the bottom 32 bits of
|
2718
2718
|
the pointer.</p>
|
2719
2719
|
<div class="refsect3">
|
2720
2720
|
<a name="id-1.4.3.7.54.6"></a><h4>Parameters</h4>
|
2721
|
-
<div class="informaltable"><table width="100%" border="0">
|
2721
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2722
2722
|
<colgroup>
|
2723
2723
|
<col width="150px" class="parameters_name">
|
2724
2724
|
<col class="parameters_description">
|
@@ -2727,8 +2727,8 @@ the pointer.</p>
|
|
2727
2727
|
<tbody>
|
2728
2728
|
<tr>
|
2729
2729
|
<td class="parameter_name"><p>address</p></td>
|
2730
|
-
<td class="parameter_description"><p>a pointer to a <span class="type">gpointer-sized</span> value</p></td>
|
2731
|
-
<td class="parameter_annotations">
|
2730
|
+
<td class="parameter_description"><p> a pointer to a <span class="type">gpointer-sized</span> value. </p></td>
|
2731
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
2732
2732
|
</tr>
|
2733
2733
|
<tr>
|
2734
2734
|
<td class="parameter_name"><p>lock_bit</p></td>
|
@@ -2738,21 +2738,21 @@ the pointer.</p>
|
|
2738
2738
|
</tbody>
|
2739
2739
|
</table></div>
|
2740
2740
|
</div>
|
2741
|
-
<p class="since">Since 2.30</p>
|
2741
|
+
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
2742
2742
|
</div>
|
2743
2743
|
<hr>
|
2744
2744
|
<div class="refsect2">
|
2745
2745
|
<a name="g-pointer-bit-trylock"></a><h3>g_pointer_bit_trylock ()</h3>
|
2746
2746
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>
|
2747
2747
|
g_pointer_bit_trylock (<em class="parameter"><code>volatile <span class="type">void</span> *address</code></em>,
|
2748
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2748
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2749
2749
|
<p>This is equivalent to g_bit_trylock, but working on pointers (or
|
2750
2750
|
other pointer-sized values).</p>
|
2751
2751
|
<p>For portability reasons, you may only lock on the bottom 32 bits of
|
2752
2752
|
the pointer.</p>
|
2753
2753
|
<div class="refsect3">
|
2754
2754
|
<a name="id-1.4.3.7.55.6"></a><h4>Parameters</h4>
|
2755
|
-
<div class="informaltable"><table width="100%" border="0">
|
2755
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2756
2756
|
<colgroup>
|
2757
2757
|
<col width="150px" class="parameters_name">
|
2758
2758
|
<col class="parameters_description">
|
@@ -2761,8 +2761,8 @@ the pointer.</p>
|
|
2761
2761
|
<tbody>
|
2762
2762
|
<tr>
|
2763
2763
|
<td class="parameter_name"><p>address</p></td>
|
2764
|
-
<td class="parameter_description"><p>a pointer to a <span class="type">gpointer-sized</span> value</p></td>
|
2765
|
-
<td class="parameter_annotations">
|
2764
|
+
<td class="parameter_description"><p> a pointer to a <span class="type">gpointer-sized</span> value. </p></td>
|
2765
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
2766
2766
|
</tr>
|
2767
2767
|
<tr>
|
2768
2768
|
<td class="parameter_name"><p>lock_bit</p></td>
|
@@ -2775,23 +2775,22 @@ the pointer.</p>
|
|
2775
2775
|
<div class="refsect3">
|
2776
2776
|
<a name="id-1.4.3.7.55.7"></a><h4>Returns</h4>
|
2777
2777
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the lock was acquired</p>
|
2778
|
-
<p></p>
|
2779
2778
|
</div>
|
2780
|
-
<p class="since">Since 2.30</p>
|
2779
|
+
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
2781
2780
|
</div>
|
2782
2781
|
<hr>
|
2783
2782
|
<div class="refsect2">
|
2784
2783
|
<a name="g-pointer-bit-unlock"></a><h3>g_pointer_bit_unlock ()</h3>
|
2785
2784
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2786
2785
|
g_pointer_bit_unlock (<em class="parameter"><code>volatile <span class="type">void</span> *address</code></em>,
|
2787
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2786
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint ()"><span class="type">gint</span></a> lock_bit</code></em>);</pre>
|
2788
2787
|
<p>This is equivalent to g_bit_unlock, but working on pointers (or other
|
2789
2788
|
pointer-sized values).</p>
|
2790
2789
|
<p>For portability reasons, you may only lock on the bottom 32 bits of
|
2791
2790
|
the pointer.</p>
|
2792
2791
|
<div class="refsect3">
|
2793
2792
|
<a name="id-1.4.3.7.56.6"></a><h4>Parameters</h4>
|
2794
|
-
<div class="informaltable"><table width="100%" border="0">
|
2793
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2795
2794
|
<colgroup>
|
2796
2795
|
<col width="150px" class="parameters_name">
|
2797
2796
|
<col class="parameters_description">
|
@@ -2800,8 +2799,8 @@ the pointer.</p>
|
|
2800
2799
|
<tbody>
|
2801
2800
|
<tr>
|
2802
2801
|
<td class="parameter_name"><p>address</p></td>
|
2803
|
-
<td class="parameter_description"><p>a pointer to a <span class="type">gpointer-sized</span> value</p></td>
|
2804
|
-
<td class="parameter_annotations">
|
2802
|
+
<td class="parameter_description"><p> a pointer to a <span class="type">gpointer-sized</span> value. </p></td>
|
2803
|
+
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
2805
2804
|
</tr>
|
2806
2805
|
<tr>
|
2807
2806
|
<td class="parameter_name"><p>lock_bit</p></td>
|
@@ -2811,12 +2810,12 @@ the pointer.</p>
|
|
2811
2810
|
</tbody>
|
2812
2811
|
</table></div>
|
2813
2812
|
</div>
|
2814
|
-
<p class="since">Since 2.30</p>
|
2813
|
+
<p class="since">Since: <a class="link" href="api-index-2-30.html#api-index-2.30">2.30</a></p>
|
2815
2814
|
</div>
|
2816
2815
|
<hr>
|
2817
2816
|
<div class="refsect2">
|
2818
2817
|
<a name="g-get-num-processors"></a><h3>g_get_num_processors ()</h3>
|
2819
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a>
|
2818
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint ()"><span class="returnvalue">guint</span></a>
|
2820
2819
|
g_get_num_processors (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
2821
2820
|
<p>Determine the approximate number of threads that the system will
|
2822
2821
|
schedule simultaneously for this process. This is intended to be
|
@@ -2825,9 +2824,8 @@ similar cases.</p>
|
|
2825
2824
|
<div class="refsect3">
|
2826
2825
|
<a name="id-1.4.3.7.57.5"></a><h4>Returns</h4>
|
2827
2826
|
<p> Number of schedulable threads, always greater than 0</p>
|
2828
|
-
<p></p>
|
2829
2827
|
</div>
|
2830
|
-
<p class="since">Since 2.36</p>
|
2828
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
2831
2829
|
</div>
|
2832
2830
|
</div>
|
2833
2831
|
<div class="refsect1">
|
@@ -2844,7 +2842,7 @@ similar cases.</p>
|
|
2844
2842
|
<p>Possible errors of thread related functions.</p>
|
2845
2843
|
<div class="refsect3">
|
2846
2844
|
<a name="id-1.4.3.8.3.4"></a><h4>Members</h4>
|
2847
|
-
<div class="informaltable"><table width="100%" border="0">
|
2845
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2848
2846
|
<colgroup>
|
2849
2847
|
<col width="300px" class="enum_members_name">
|
2850
2848
|
<col class="enum_members_description">
|
@@ -2901,17 +2899,17 @@ access.</p>
|
|
2901
2899
|
9
|
2902
2900
|
10
|
2903
2901
|
11</pre></td>
|
2904
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
2905
|
-
<span class="function">give_me_next_number</span
|
2906
|
-
<span class="
|
2907
|
-
<span class="
|
2902
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span>
|
2903
|
+
<span class="function">give_me_next_number</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2904
|
+
<span class="gtkdoc opt">{</span>
|
2905
|
+
<span class="gtkdoc kwb">static int</span> current_number <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
2908
2906
|
|
2909
|
-
<span class="
|
2910
|
-
<span class="
|
2911
|
-
|
2907
|
+
<span class="gtkdoc slc">// now do a very complicated calculation to calculate the new</span>
|
2908
|
+
<span class="gtkdoc slc">// number, this might for example be a random number generator</span>
|
2909
|
+
current_number <span class="gtkdoc opt">=</span> <span class="function">calc_next_number</span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
2912
2910
|
|
2913
|
-
<span class="
|
2914
|
-
<span class="
|
2911
|
+
<span class="keyword">return</span> current_number<span class="gtkdoc opt">;</span>
|
2912
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2915
2913
|
</tr>
|
2916
2914
|
</tbody>
|
2917
2915
|
</table>
|
@@ -2938,19 +2936,19 @@ access. A <a class="link" href="glib-Threads.html#GMutex" title="union GMutex"><
|
|
2938
2936
|
11
|
2939
2937
|
12
|
2940
2938
|
13</pre></td>
|
2941
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
2942
|
-
<span class="function">give_me_next_number</span
|
2943
|
-
<span class="
|
2944
|
-
<span class="
|
2945
|
-
<span class="
|
2946
|
-
<span class="
|
2939
|
+
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">int</span>
|
2940
|
+
<span class="function">give_me_next_number</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
2941
|
+
<span class="gtkdoc opt">{</span>
|
2942
|
+
<span class="gtkdoc kwb">static</span> GMutex mutex<span class="gtkdoc opt">;</span>
|
2943
|
+
<span class="gtkdoc kwb">static int</span> current_number <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
2944
|
+
<span class="gtkdoc kwb">int</span> ret_val<span class="gtkdoc opt">;</span>
|
2947
2945
|
|
2948
|
-
<span class="
|
2949
|
-
|
2950
|
-
<span class="
|
2946
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-lock">g_mutex_lock</a></span> <span class="gtkdoc opt">(&</span>mutex<span class="gtkdoc opt">);</span>
|
2947
|
+
ret_val <span class="gtkdoc opt">=</span> current_number <span class="gtkdoc opt">=</span> <span class="function">calc_next_number</span> <span class="gtkdoc opt">(</span>current_number<span class="gtkdoc opt">);</span>
|
2948
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-unlock">g_mutex_unlock</a></span> <span class="gtkdoc opt">(&</span>mutex<span class="gtkdoc opt">);</span>
|
2951
2949
|
|
2952
|
-
<span class="
|
2953
|
-
<span class="
|
2950
|
+
<span class="keyword">return</span> ret_val<span class="gtkdoc opt">;</span>
|
2951
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
2954
2952
|
</tr>
|
2955
2953
|
</tbody>
|
2956
2954
|
</table>
|
@@ -2970,7 +2968,7 @@ then it must be explicitly initialised using <a class="link" href="glib-Threads.
|
|
2970
2968
|
<pre class="programlisting">typedef void GMutexLocker;
|
2971
2969
|
</pre>
|
2972
2970
|
<p>Opaque type. See <a class="link" href="glib-Threads.html#g-mutex-locker-new" title="g_mutex_locker_new ()"><code class="function">g_mutex_locker_new()</code></a> for details.</p>
|
2973
|
-
<p class="since">Since 2.44</p>
|
2971
|
+
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
2974
2972
|
</div>
|
2975
2973
|
<hr>
|
2976
2974
|
<div class="refsect2">
|
@@ -2988,7 +2986,7 @@ without initialisation. Otherwise, you should call
|
|
2988
2986
|
<a class="link" href="glib-Threads.html#g-rec-mutex-init" title="g_rec_mutex_init ()"><code class="function">g_rec_mutex_init()</code></a> on it and <a class="link" href="glib-Threads.html#g-rec-mutex-clear" title="g_rec_mutex_clear ()"><code class="function">g_rec_mutex_clear()</code></a> when done.</p>
|
2989
2987
|
<p>A GRecMutex should only be accessed with the
|
2990
2988
|
g_rec_mutex_ functions.</p>
|
2991
|
-
<p class="since">Since 2.32</p>
|
2989
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
2992
2990
|
</div>
|
2993
2991
|
<hr>
|
2994
2992
|
<div class="refsect2">
|
@@ -3043,39 +3041,39 @@ simultaneous read-only access (by holding the 'reader' lock via
|
|
3043
3041
|
31
|
3044
3042
|
32
|
3045
3043
|
33</pre></td>
|
3046
|
-
<td class="listing_code"><pre class="programlisting"
|
3047
|
-
<span class="
|
3044
|
+
<td class="listing_code"><pre class="programlisting">GRWLock lock<span class="gtkdoc opt">;</span>
|
3045
|
+
GPtrArray <span class="gtkdoc opt">*</span>array<span class="gtkdoc opt">;</span>
|
3048
3046
|
|
3049
|
-
|
3050
|
-
<span class="function">my_array_get</span
|
3051
|
-
<span class="
|
3052
|
-
|
3047
|
+
gpointer
|
3048
|
+
<span class="function">my_array_get</span> <span class="gtkdoc opt">(</span>guint index<span class="gtkdoc opt">)</span>
|
3049
|
+
<span class="gtkdoc opt">{</span>
|
3050
|
+
gpointer retval <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
3053
3051
|
|
3054
|
-
<span class="
|
3055
|
-
<span class="
|
3052
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span>array<span class="gtkdoc opt">)</span>
|
3053
|
+
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span>
|
3056
3054
|
|
3057
|
-
<span class="
|
3058
|
-
<span class="
|
3059
|
-
|
3060
|
-
<span class="
|
3055
|
+
<span class="function"><a href="glib-Threads.html#g-rw-lock-reader-lock">g_rw_lock_reader_lock</a></span> <span class="gtkdoc opt">(&</span>lock<span class="gtkdoc opt">);</span>
|
3056
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>index <span class="gtkdoc opt"><</span> array<span class="gtkdoc opt">-></span>len<span class="gtkdoc opt">)</span>
|
3057
|
+
retval <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-index">g_ptr_array_index</a></span> <span class="gtkdoc opt">(</span>array<span class="gtkdoc opt">,</span> index<span class="gtkdoc opt">);</span>
|
3058
|
+
<span class="function"><a href="glib-Threads.html#g-rw-lock-reader-unlock">g_rw_lock_reader_unlock</a></span> <span class="gtkdoc opt">(&</span>lock<span class="gtkdoc opt">);</span>
|
3061
3059
|
|
3062
|
-
<span class="
|
3063
|
-
<span class="
|
3060
|
+
<span class="keyword">return</span> retval<span class="gtkdoc opt">;</span>
|
3061
|
+
<span class="gtkdoc opt">}</span>
|
3064
3062
|
|
3065
|
-
<span class="
|
3066
|
-
<span class="function">my_array_set</span
|
3067
|
-
<span class="
|
3068
|
-
<span class="
|
3063
|
+
<span class="gtkdoc kwb">void</span>
|
3064
|
+
<span class="function">my_array_set</span> <span class="gtkdoc opt">(</span>guint index<span class="gtkdoc opt">,</span> gpointer data<span class="gtkdoc opt">)</span>
|
3065
|
+
<span class="gtkdoc opt">{</span>
|
3066
|
+
<span class="function"><a href="glib-Threads.html#g-rw-lock-writer-lock">g_rw_lock_writer_lock</a></span> <span class="gtkdoc opt">(&</span>lock<span class="gtkdoc opt">);</span>
|
3069
3067
|
|
3070
|
-
<span class="
|
3071
|
-
|
3068
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span>array<span class="gtkdoc opt">)</span>
|
3069
|
+
array <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-new">g_ptr_array_new</a></span> <span class="gtkdoc opt">();</span>
|
3072
3070
|
|
3073
|
-
<span class="
|
3074
|
-
<span class="
|
3075
|
-
<span class="
|
3071
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>index <span class="gtkdoc opt">>=</span> array<span class="gtkdoc opt">-></span>len<span class="gtkdoc opt">)</span>
|
3072
|
+
<span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-set-size">g_ptr_array_set_size</a></span> <span class="gtkdoc opt">(</span>array<span class="gtkdoc opt">,</span> index<span class="gtkdoc opt">+</span><span class="number">1</span><span class="gtkdoc opt">);</span>
|
3073
|
+
<span class="function"><a href="glib-Pointer-Arrays.html#g-ptr-array-index">g_ptr_array_index</a></span> <span class="gtkdoc opt">(</span>array<span class="gtkdoc opt">,</span> index<span class="gtkdoc opt">) =</span> data<span class="gtkdoc opt">;</span>
|
3076
3074
|
|
3077
|
-
<span class="
|
3078
|
-
<span class="
|
3075
|
+
<span class="function"><a href="glib-Threads.html#g-rw-lock-writer-unlock">g_rw_lock_writer_unlock</a></span> <span class="gtkdoc opt">(&</span>lock<span class="gtkdoc opt">);</span>
|
3076
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
3079
3077
|
</tr>
|
3080
3078
|
</tbody>
|
3081
3079
|
</table>
|
@@ -3092,7 +3090,7 @@ functions is fully multi-thread safe now.</p>
|
|
3092
3090
|
without initialisation. Otherwise, you should call
|
3093
3091
|
<a class="link" href="glib-Threads.html#g-rw-lock-init" title="g_rw_lock_init ()"><code class="function">g_rw_lock_init()</code></a> on it and <a class="link" href="glib-Threads.html#g-rw-lock-clear" title="g_rw_lock_clear ()"><code class="function">g_rw_lock_clear()</code></a> when done.</p>
|
3094
3092
|
<p>A GRWLock should only be accessed with the g_rw_lock_ functions.</p>
|
3095
|
-
<p class="since">Since 2.32</p>
|
3093
|
+
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
3096
3094
|
</div>
|
3097
3095
|
<hr>
|
3098
3096
|
<div class="refsect2">
|
@@ -3142,33 +3140,33 @@ is satisfied:</p>
|
|
3142
3140
|
25
|
3143
3141
|
26
|
3144
3142
|
27</pre></td>
|
3145
|
-
<td class="listing_code"><pre class="programlisting"
|
3146
|
-
|
3147
|
-
|
3143
|
+
<td class="listing_code"><pre class="programlisting">gpointer current_data <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
3144
|
+
GMutex data_mutex<span class="gtkdoc opt">;</span>
|
3145
|
+
GCond data_cond<span class="gtkdoc opt">;</span>
|
3148
3146
|
|
3149
|
-
<span class="
|
3150
|
-
<span class="function">push_data</span
|
3151
|
-
<span class="
|
3152
|
-
<span class="
|
3153
|
-
|
3154
|
-
<span class="
|
3155
|
-
<span class="
|
3156
|
-
<span class="
|
3147
|
+
<span class="gtkdoc kwb">void</span>
|
3148
|
+
<span class="function">push_data</span> <span class="gtkdoc opt">(</span>gpointer data<span class="gtkdoc opt">)</span>
|
3149
|
+
<span class="gtkdoc opt">{</span>
|
3150
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-lock">g_mutex_lock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
3151
|
+
current_data <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3152
|
+
<span class="function"><a href="glib-Threads.html#g-cond-signal">g_cond_signal</a></span> <span class="gtkdoc opt">(&</span>data_cond<span class="gtkdoc opt">);</span>
|
3153
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-unlock">g_mutex_unlock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
3154
|
+
<span class="gtkdoc opt">}</span>
|
3157
3155
|
|
3158
|
-
|
3159
|
-
<span class="function">pop_data</span
|
3160
|
-
<span class="
|
3161
|
-
|
3156
|
+
gpointer
|
3157
|
+
<span class="function">pop_data</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
3158
|
+
<span class="gtkdoc opt">{</span>
|
3159
|
+
gpointer data<span class="gtkdoc opt">;</span>
|
3162
3160
|
|
3163
|
-
<span class="
|
3164
|
-
<span class="
|
3165
|
-
<span class="
|
3166
|
-
|
3167
|
-
|
3168
|
-
<span class="
|
3161
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-lock">g_mutex_lock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
3162
|
+
<span class="keyword">while</span> <span class="gtkdoc opt">(!</span>current_data<span class="gtkdoc opt">)</span>
|
3163
|
+
<span class="function"><a href="glib-Threads.html#g-cond-wait">g_cond_wait</a></span> <span class="gtkdoc opt">(&</span>data_cond<span class="gtkdoc opt">, &</span>data_mutex<span class="gtkdoc opt">);</span>
|
3164
|
+
data <span class="gtkdoc opt">=</span> current_data<span class="gtkdoc opt">;</span>
|
3165
|
+
current_data <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
3166
|
+
<span class="function"><a href="glib-Threads.html#g-mutex-unlock">g_mutex_unlock</a></span> <span class="gtkdoc opt">(&</span>data_mutex<span class="gtkdoc opt">);</span>
|
3169
3167
|
|
3170
|
-
<span class="
|
3171
|
-
<span class="
|
3168
|
+
<span class="keyword">return</span> data<span class="gtkdoc opt">;</span>
|
3169
|
+
<span class="gtkdoc opt">}</span></pre></td>
|
3172
3170
|
</tr>
|
3173
3171
|
</tbody>
|
3174
3172
|
</table>
|
@@ -3230,7 +3228,7 @@ one-time initialization function must have its own unique <a class="link" href="
|
|
3230
3228
|
struct.</p>
|
3231
3229
|
<div class="refsect3">
|
3232
3230
|
<a name="id-1.4.3.8.11.5"></a><h4>Members</h4>
|
3233
|
-
<div class="informaltable"><table width="100%" border="0">
|
3231
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3234
3232
|
<colgroup>
|
3235
3233
|
<col width="300px" class="struct_members_name">
|
3236
3234
|
<col class="struct_members_description">
|
@@ -3251,7 +3249,7 @@ is <a class="link" href="glib-Threads.html#G-ONCE-STATUS-READY:CAPS"><code class
|
|
3251
3249
|
</tbody>
|
3252
3250
|
</table></div>
|
3253
3251
|
</div>
|
3254
|
-
<p class="since">Since 2.4</p>
|
3252
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3255
3253
|
</div>
|
3256
3254
|
<hr>
|
3257
3255
|
<div class="refsect2">
|
@@ -3260,7 +3258,7 @@ is <a class="link" href="glib-Threads.html#G-ONCE-STATUS-READY:CAPS"><code class
|
|
3260
3258
|
controlled by a <a class="link" href="glib-Threads.html#GOnce" title="struct GOnce"><span class="type">GOnce</span></a> struct.</p>
|
3261
3259
|
<div class="refsect3">
|
3262
3260
|
<a name="id-1.4.3.8.12.4"></a><h4>Members</h4>
|
3263
|
-
<div class="informaltable"><table width="100%" border="0">
|
3261
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3264
3262
|
<colgroup>
|
3265
3263
|
<col width="300px" class="enum_members_name">
|
3266
3264
|
<col class="enum_members_description">
|
@@ -3291,7 +3289,7 @@ controlled by a <a class="link" href="glib-Threads.html#GOnce" title="struct GOn
|
|
3291
3289
|
</tbody>
|
3292
3290
|
</table></div>
|
3293
3291
|
</div>
|
3294
|
-
<p class="since">Since 2.4</p>
|
3292
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3295
3293
|
</div>
|
3296
3294
|
<hr>
|
3297
3295
|
<div class="refsect2">
|
@@ -3304,14 +3302,14 @@ controlled by a <a class="link" href="glib-Threads.html#GOnce" title="struct GOn
|
|
3304
3302
|
<tbody>
|
3305
3303
|
<tr>
|
3306
3304
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
3307
|
-
<td class="listing_code"><pre class="programlisting"
|
3305
|
+
<td class="listing_code"><pre class="programlisting">GOnce my_once <span class="gtkdoc opt">=</span> G_ONCE_INIT<span class="gtkdoc opt">;</span></pre></td>
|
3308
3306
|
</tr>
|
3309
3307
|
</tbody>
|
3310
3308
|
</table>
|
3311
3309
|
</div>
|
3312
3310
|
|
3313
3311
|
<p></p>
|
3314
|
-
<p class="since">Since 2.4</p>
|
3312
|
+
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
3315
3313
|
</div>
|
3316
3314
|
</div>
|
3317
3315
|
<div class="refsect1">
|
@@ -3320,7 +3318,6 @@ controlled by a <a class="link" href="glib-Threads.html#GOnce" title="struct GOn
|
|
3320
3318
|
</div>
|
3321
3319
|
</div>
|
3322
3320
|
<div class="footer">
|
3323
|
-
<hr>
|
3324
|
-
Generated by GTK-Doc V1.21.1</div>
|
3321
|
+
<hr>Generated by GTK-Doc V1.24</div>
|
3325
3322
|
</body>
|
3326
3323
|
</html>
|