atk 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/atk/extconf.rb +8 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- data/vendor/local/bin/gobject-query.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/libatk-1.0-0.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/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +2 -2
- data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/lib/atk-1.0.def +1 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{atk-dev_1.30.0-2_win32.mft → atk-dev_1.32.0-1_win32.mft} +3 -3
- data/vendor/local/manifest/{atk_1.30.0-2_win32.mft → atk_1.32.0-1_win32.mft} +3 -1
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -7
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +148 -4
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.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/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/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/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/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/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.log +730 -0
- data/vendor/local/src/tml/packaging/{atk_1.30.0-2_win32.sh → atk_1.32.0-1_win32.sh} +8 -6
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- metadata +906 -826
- data/ext/atk/Makefile +0 -160
- data/ext/atk/rbatkversion.h +0 -24
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +0 -739
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-core.html" title="GLib Core Application Support">
|
9
9
|
<link rel="prev" href="glib-Threads.html" title="Threads">
|
10
10
|
<link rel="next" href="glib-Asynchronous-Queues.html" title="Asynchronous Queues">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (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">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Thread-Pools.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Thread-Pools"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,13 +35,13 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-Thread-Pools.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
43
|
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool">GThreadPool</a>;
|
44
|
-
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="returnvalue">GThreadPool</span></a
|
44
|
+
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="returnvalue">GThreadPool</span></a> * <a class="link" href="glib-Thread-Pools.html#g-thread-pool-new" title="g_thread_pool_new ()">g_thread_pool_new</a> (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> func</code></em>,
|
45
45
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_threads</code></em>,
|
47
47
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> exclusive</code></em>,
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Thread-Pools.html#g-thread-pool-get-max-idle-time" title="g_thread_pool_get_max_idle_time ()">g_thread_pool_get_max_idle_time</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
73
|
</pre>
|
74
74
|
</div>
|
75
|
-
<div class="refsect1"
|
75
|
+
<div class="refsect1">
|
76
76
|
<a name="glib-Thread-Pools.description"></a><h2>Description</h2>
|
77
77
|
<p>
|
78
78
|
Sometimes you wish to asynchronously fork out the execution of work
|
@@ -111,9 +111,9 @@ controlled by <a class="link" href="glib-Thread-Pools.html#g-thread-pool-get-max
|
|
111
111
|
can be stopped by calling <a class="link" href="glib-Thread-Pools.html#g-thread-pool-stop-unused-threads" title="g_thread_pool_stop_unused_threads ()"><code class="function">g_thread_pool_stop_unused_threads()</code></a>.
|
112
112
|
</p>
|
113
113
|
</div>
|
114
|
-
<div class="refsect1"
|
114
|
+
<div class="refsect1">
|
115
115
|
<a name="glib-Thread-Pools.details"></a><h2>Details</h2>
|
116
|
-
<div class="refsect2"
|
116
|
+
<div class="refsect2">
|
117
117
|
<a name="GThreadPool"></a><h3>GThreadPool</h3>
|
118
118
|
<pre class="programlisting">typedef struct {
|
119
119
|
GFunc func;
|
@@ -148,9 +148,9 @@ you must not copy this struct.
|
|
148
148
|
</table></div>
|
149
149
|
</div>
|
150
150
|
<hr>
|
151
|
-
<div class="refsect2"
|
151
|
+
<div class="refsect2">
|
152
152
|
<a name="g-thread-pool-new"></a><h3>g_thread_pool_new ()</h3>
|
153
|
-
<pre class="programlisting"><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="returnvalue">GThreadPool</span></a
|
153
|
+
<pre class="programlisting"><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="returnvalue">GThreadPool</span></a> * g_thread_pool_new (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> func</code></em>,
|
154
154
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
|
155
155
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_threads</code></em>,
|
156
156
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> exclusive</code></em>,
|
@@ -221,7 +221,7 @@ not all <em class="parameter"><code>max_threads</code></em> threads could be cre
|
|
221
221
|
</table></div>
|
222
222
|
</div>
|
223
223
|
<hr>
|
224
|
-
<div class="refsect2"
|
224
|
+
<div class="refsect2">
|
225
225
|
<a name="g-thread-pool-push"></a><h3>g_thread_pool_push ()</h3>
|
226
226
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_push (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>,
|
227
227
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
@@ -262,7 +262,7 @@ to do.
|
|
262
262
|
</table></div>
|
263
263
|
</div>
|
264
264
|
<hr>
|
265
|
-
<div class="refsect2"
|
265
|
+
<div class="refsect2">
|
266
266
|
<a name="g-thread-pool-set-max-threads"></a><h3>g_thread_pool_set_max_threads ()</h3>
|
267
267
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_set_max_threads (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>,
|
268
268
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_threads</code></em>,
|
@@ -310,7 +310,7 @@ created.
|
|
310
310
|
</table></div>
|
311
311
|
</div>
|
312
312
|
<hr>
|
313
|
-
<div class="refsect2"
|
313
|
+
<div class="refsect2">
|
314
314
|
<a name="g-thread-pool-get-max-threads"></a><h3>g_thread_pool_get_max_threads ()</h3>
|
315
315
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_thread_pool_get_max_threads (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>);</pre>
|
316
316
|
<p>
|
@@ -333,7 +333,7 @@ Returns the maximal number of threads for <em class="parameter"><code>pool</code
|
|
333
333
|
</table></div>
|
334
334
|
</div>
|
335
335
|
<hr>
|
336
|
-
<div class="refsect2"
|
336
|
+
<div class="refsect2">
|
337
337
|
<a name="g-thread-pool-get-num-threads"></a><h3>g_thread_pool_get_num_threads ()</h3>
|
338
338
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_thread_pool_get_num_threads (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>);</pre>
|
339
339
|
<p>
|
@@ -356,7 +356,7 @@ Returns the number of threads currently running in <em class="parameter"><code>p
|
|
356
356
|
</table></div>
|
357
357
|
</div>
|
358
358
|
<hr>
|
359
|
-
<div class="refsect2"
|
359
|
+
<div class="refsect2">
|
360
360
|
<a name="g-thread-pool-unprocessed"></a><h3>g_thread_pool_unprocessed ()</h3>
|
361
361
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_thread_pool_unprocessed (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>);</pre>
|
362
362
|
<p>
|
@@ -379,7 +379,7 @@ Returns the number of tasks still unprocessed in <em class="parameter"><code>poo
|
|
379
379
|
</table></div>
|
380
380
|
</div>
|
381
381
|
<hr>
|
382
|
-
<div class="refsect2"
|
382
|
+
<div class="refsect2">
|
383
383
|
<a name="g-thread-pool-free"></a><h3>g_thread_pool_free ()</h3>
|
384
384
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_free (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>,
|
385
385
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> immediate</code></em>,
|
@@ -424,7 +424,7 @@ After calling this function <em class="parameter"><code>pool</code></em> must no
|
|
424
424
|
</table></div>
|
425
425
|
</div>
|
426
426
|
<hr>
|
427
|
-
<div class="refsect2"
|
427
|
+
<div class="refsect2">
|
428
428
|
<a name="g-thread-pool-set-max-unused-threads"></a><h3>g_thread_pool_set_max_unused_threads ()</h3>
|
429
429
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_set_max_unused_threads
|
430
430
|
(<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_threads</code></em>);</pre>
|
@@ -443,7 +443,7 @@ threads.
|
|
443
443
|
</table></div>
|
444
444
|
</div>
|
445
445
|
<hr>
|
446
|
-
<div class="refsect2"
|
446
|
+
<div class="refsect2">
|
447
447
|
<a name="g-thread-pool-get-max-unused-threads"></a><h3>g_thread_pool_get_max_unused_threads ()</h3>
|
448
448
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_thread_pool_get_max_unused_threads
|
449
449
|
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
@@ -460,7 +460,7 @@ Returns the maximal allowed number of unused threads.
|
|
460
460
|
</table></div>
|
461
461
|
</div>
|
462
462
|
<hr>
|
463
|
-
<div class="refsect2"
|
463
|
+
<div class="refsect2">
|
464
464
|
<a name="g-thread-pool-get-num-unused-threads"></a><h3>g_thread_pool_get_num_unused_threads ()</h3>
|
465
465
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_thread_pool_get_num_unused_threads
|
466
466
|
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
@@ -477,7 +477,7 @@ Returns the number of currently unused threads.
|
|
477
477
|
</table></div>
|
478
478
|
</div>
|
479
479
|
<hr>
|
480
|
-
<div class="refsect2"
|
480
|
+
<div class="refsect2">
|
481
481
|
<a name="g-thread-pool-stop-unused-threads"></a><h3>g_thread_pool_stop_unused_threads ()</h3>
|
482
482
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_stop_unused_threads (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
483
483
|
<p>
|
@@ -487,7 +487,7 @@ regularly stop all unused threads e.g. from <a class="link" href="glib-The-Main-
|
|
487
487
|
</p>
|
488
488
|
</div>
|
489
489
|
<hr>
|
490
|
-
<div class="refsect2"
|
490
|
+
<div class="refsect2">
|
491
491
|
<a name="g-thread-pool-set-sort-function"></a><h3>g_thread_pool_set_sort_function ()</h3>
|
492
492
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_set_sort_function (<em class="parameter"><code><a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a> *pool</code></em>,
|
493
493
|
<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GCompareDataFunc" title="GCompareDataFunc ()"><span class="type">GCompareDataFunc</span></a> func</code></em>,
|
@@ -532,7 +532,7 @@ created.
|
|
532
532
|
<p class="since">Since 2.10</p>
|
533
533
|
</div>
|
534
534
|
<hr>
|
535
|
-
<div class="refsect2"
|
535
|
+
<div class="refsect2">
|
536
536
|
<a name="g-thread-pool-set-max-idle-time"></a><h3>g_thread_pool_set_max_idle_time ()</h3>
|
537
537
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_pool_set_max_idle_time (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> interval</code></em>);</pre>
|
538
538
|
<p>
|
@@ -560,7 +560,7 @@ This function makes use of <a class="link" href="glib-Asynchronous-Queues.html#g
|
|
560
560
|
<p class="since">Since 2.10</p>
|
561
561
|
</div>
|
562
562
|
<hr>
|
563
|
-
<div class="refsect2"
|
563
|
+
<div class="refsect2">
|
564
564
|
<a name="g-thread-pool-get-max-idle-time"></a><h3>g_thread_pool_get_max_idle_time ()</h3>
|
565
565
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_thread_pool_get_max_idle_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
566
566
|
<p>
|
@@ -584,7 +584,7 @@ new work are not stopped.
|
|
584
584
|
<p class="since">Since 2.10</p>
|
585
585
|
</div>
|
586
586
|
</div>
|
587
|
-
<div class="refsect1"
|
587
|
+
<div class="refsect1">
|
588
588
|
<a name="glib-Thread-Pools.see-also"></a><h2>See Also</h2>
|
589
589
|
<p> </p>
|
590
590
|
<div class="variablelist"><table border="0">
|
@@ -601,6 +601,6 @@ new work are not stopped.
|
|
601
601
|
</div>
|
602
602
|
<div class="footer">
|
603
603
|
<hr>
|
604
|
-
Generated by GTK-Doc V1.
|
604
|
+
Generated by GTK-Doc V1.15.1</div>
|
605
605
|
</body>
|
606
606
|
</html>
|
@@ -8,7 +8,7 @@
|
|
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.15.1 (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">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-Threads.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-Threads"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</td>
|
37
37
|
<td valign="top" align="right"></td>
|
38
38
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv"
|
39
|
+
<div class="refsynopsisdiv">
|
40
40
|
<a name="glib-Threads.synopsis"></a><h2>Synopsis</h2>
|
41
41
|
<pre class="synopsis">
|
42
42
|
#include <glib.h>
|
@@ -60,14 +60,14 @@ enum <a class="link" href="glib-Threads.html#GThreadPriority" tit
|
|
60
60
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
61
61
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
62
62
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
63
|
-
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a
|
63
|
+
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * <a class="link" href="glib-Threads.html#g-thread-create-full" title="g_thread_create_full ()">g_thread_create_full</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
64
64
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
65
65
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> stack_size</code></em>,
|
66
66
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
67
67
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> bound</code></em>,
|
68
68
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>,
|
69
69
|
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
70
|
-
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a
|
70
|
+
<a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * <a class="link" href="glib-Threads.html#g-thread-self" title="g_thread_self ()">g_thread_self</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
71
71
|
<a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join ()">g_thread_join</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>);
|
72
72
|
<span class="returnvalue">void</span> <a class="link" href="glib-Threads.html#g-thread-set-priority" title="g_thread_set_priority ()">g_thread_set_priority</a> (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>,
|
73
73
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>);
|
@@ -165,7 +165,7 @@ enum <a class="link" href="glib-Threads.html#GOnceStatus" title="
|
|
165
165
|
<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>);
|
166
166
|
</pre>
|
167
167
|
</div>
|
168
|
-
<div class="refsect1"
|
168
|
+
<div class="refsect1">
|
169
169
|
<a name="glib-Threads.description"></a><h2>Description</h2>
|
170
170
|
<p>
|
171
171
|
Threads act almost like processes, but unlike processes all threads
|
@@ -207,10 +207,10 @@ this should be avoided if possible.
|
|
207
207
|
</p>
|
208
208
|
<p>
|
209
209
|
Please note that since version 2.24 the GObject initialization
|
210
|
-
function <a href="/
|
210
|
+
function <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init"><code class="function">g_type_init()</code></a> initializes threads (with a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> argument),
|
211
211
|
so most applications, including those using Gtk+ will run with
|
212
212
|
threads enabled. If you want a special thread implementation, make
|
213
|
-
sure you call <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> before <a href="/
|
213
|
+
sure you call <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> before <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init"><code class="function">g_type_init()</code></a> is called.
|
214
214
|
</p>
|
215
215
|
<p>
|
216
216
|
After calling <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a>, GLib is completely thread safe (all
|
@@ -229,9 +229,9 @@ messages on common problems. To use error-checking mutexes, define
|
|
229
229
|
the symbol <span class="type">G_ERRORCHECK_MUTEXES</span> when compiling the application.
|
230
230
|
</p>
|
231
231
|
</div>
|
232
|
-
<div class="refsect1"
|
232
|
+
<div class="refsect1">
|
233
233
|
<a name="glib-Threads.details"></a><h2>Details</h2>
|
234
|
-
<div class="refsect2"
|
234
|
+
<div class="refsect2">
|
235
235
|
<a name="G-THREADS-ENABLED:CAPS"></a><h3>G_THREADS_ENABLED</h3>
|
236
236
|
<pre class="programlisting">#define G_THREADS_ENABLED
|
237
237
|
</pre>
|
@@ -245,7 +245,7 @@ defined, then Glib is not, and cannot be, multi-thread safe.
|
|
245
245
|
</p>
|
246
246
|
</div>
|
247
247
|
<hr>
|
248
|
-
<div class="refsect2"
|
248
|
+
<div class="refsect2">
|
249
249
|
<a name="G-THREADS-IMPL-POSIX:CAPS"></a><h3>G_THREADS_IMPL_POSIX</h3>
|
250
250
|
<pre class="programlisting">#define G_THREADS_IMPL_POSIX
|
251
251
|
</pre>
|
@@ -254,7 +254,7 @@ This macro is defined if POSIX style threads are used.
|
|
254
254
|
</p>
|
255
255
|
</div>
|
256
256
|
<hr>
|
257
|
-
<div class="refsect2"
|
257
|
+
<div class="refsect2">
|
258
258
|
<a name="G-THREADS-IMPL-NONE:CAPS"></a><h3>G_THREADS_IMPL_NONE</h3>
|
259
259
|
<pre class="programlisting">#define G_THREADS_IMPL_NONE
|
260
260
|
</pre>
|
@@ -265,7 +265,7 @@ safe.
|
|
265
265
|
</p>
|
266
266
|
</div>
|
267
267
|
<hr>
|
268
|
-
<div class="refsect2"
|
268
|
+
<div class="refsect2">
|
269
269
|
<a name="G-THREAD-ERROR:CAPS"></a><h3>G_THREAD_ERROR</h3>
|
270
270
|
<pre class="programlisting">#define G_THREAD_ERROR g_thread_error_quark ()
|
271
271
|
</pre>
|
@@ -274,7 +274,7 @@ The error domain of the GLib thread subsystem.
|
|
274
274
|
</p>
|
275
275
|
</div>
|
276
276
|
<hr>
|
277
|
-
<div class="refsect2"
|
277
|
+
<div class="refsect2">
|
278
278
|
<a name="GThreadError"></a><h3>enum GThreadError</h3>
|
279
279
|
<pre class="programlisting">typedef enum
|
280
280
|
{
|
@@ -295,7 +295,7 @@ Possible errors of thread related functions.
|
|
295
295
|
</table></div>
|
296
296
|
</div>
|
297
297
|
<hr>
|
298
|
-
<div class="refsect2"
|
298
|
+
<div class="refsect2">
|
299
299
|
<a name="GThreadFunctions"></a><h3>GThreadFunctions</h3>
|
300
300
|
<pre class="programlisting">typedef struct {
|
301
301
|
GMutex* (*mutex_new) (void);
|
@@ -343,7 +343,7 @@ provided to <a class="link" href="glib-Threads.html#g-thread-init" title="g_thre
|
|
343
343
|
</p>
|
344
344
|
<p>
|
345
345
|
</p>
|
346
|
-
<div class="note"
|
346
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
347
347
|
<h3 class="title">Note</h3>
|
348
348
|
<p>Do not use this struct unless you know what you are
|
349
349
|
doing.</p>
|
@@ -464,7 +464,7 @@ doing.</p>
|
|
464
464
|
</table></div>
|
465
465
|
</div>
|
466
466
|
<hr>
|
467
|
-
<div class="refsect2"
|
467
|
+
<div class="refsect2">
|
468
468
|
<a name="g-thread-init"></a><h3>g_thread_init ()</h3>
|
469
469
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_init (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunctions" title="GThreadFunctions"><span class="type">GThreadFunctions</span></a> *vtable</code></em>);</pre>
|
470
470
|
<p>
|
@@ -474,7 +474,7 @@ only have to call <code class="literal">g_thread_init (NULL)</code>.
|
|
474
474
|
</p>
|
475
475
|
<p>
|
476
476
|
</p>
|
477
|
-
<div class="note"
|
477
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
478
478
|
<h3 class="title">Note</h3>
|
479
479
|
<p>Do not call <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> with a non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> parameter unless
|
480
480
|
you really know what you are doing.</p>
|
@@ -483,7 +483,7 @@ you really know what you are doing.</p>
|
|
483
483
|
</p>
|
484
484
|
<p>
|
485
485
|
</p>
|
486
|
-
<div class="note"
|
486
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
487
487
|
<h3 class="title">Note</h3>
|
488
488
|
<p><a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> must not be called directly or indirectly as a
|
489
489
|
callback from GLib. Also no mutexes may be currently locked while
|
@@ -493,7 +493,7 @@ calling <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_i
|
|
493
493
|
</p>
|
494
494
|
<p>
|
495
495
|
</p>
|
496
|
-
<div class="note"
|
496
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
497
497
|
<h3 class="title">Note</h3>
|
498
498
|
<p><a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> changes the way in which <a class="link" href="glib-Timers.html#GTimer" title="GTimer"><span class="type">GTimer</span></a> measures
|
499
499
|
elapsed time. As a consequence, timers that are running while
|
@@ -513,7 +513,7 @@ elements of <em class="parameter"><code>vtable</code></em> are non-<a class="lin
|
|
513
513
|
</p>
|
514
514
|
<p>
|
515
515
|
</p>
|
516
|
-
<div class="note"
|
516
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
517
517
|
<h3 class="title">Note</h3>
|
518
518
|
<p>To use <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> in your program, you have to link with
|
519
519
|
the libraries that the command <span class="command"><strong>pkg-config --libs
|
@@ -534,7 +534,7 @@ having to link with the thread libraries.</p>
|
|
534
534
|
</table></div>
|
535
535
|
</div>
|
536
536
|
<hr>
|
537
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
538
538
|
<a name="g-thread-supported"></a><h3>g_thread_supported ()</h3>
|
539
539
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_thread_supported ();</pre>
|
540
540
|
<p>
|
@@ -543,7 +543,7 @@ This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS"
|
|
543
543
|
</p>
|
544
544
|
<p>
|
545
545
|
</p>
|
546
|
-
<div class="note"
|
546
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
547
547
|
<h3 class="title">Note</h3>
|
548
548
|
<p>This function is actually a macro. Apart from taking the
|
549
549
|
address of it you can however use it as if it was a
|
@@ -562,7 +562,7 @@ function.</p>
|
|
562
562
|
</table></div>
|
563
563
|
</div>
|
564
564
|
<hr>
|
565
|
-
<div class="refsect2"
|
565
|
+
<div class="refsect2">
|
566
566
|
<a name="g-thread-get-initialized"></a><h3>g_thread_get_initialized ()</h3>
|
567
567
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_thread_get_initialized (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
568
568
|
<p>
|
@@ -580,7 +580,7 @@ Indicates if <a class="link" href="glib-Threads.html#g-thread-init" title="g_thr
|
|
580
580
|
<p class="since">Since 2.20</p>
|
581
581
|
</div>
|
582
582
|
<hr>
|
583
|
-
<div class="refsect2"
|
583
|
+
<div class="refsect2">
|
584
584
|
<a name="GThreadFunc"></a><h3>GThreadFunc ()</h3>
|
585
585
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> (*GThreadFunc) (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
586
586
|
<p>
|
@@ -605,7 +605,7 @@ Specifies the type of the <em class="parameter"><code>func</code></em> functions
|
|
605
605
|
</table></div>
|
606
606
|
</div>
|
607
607
|
<hr>
|
608
|
-
<div class="refsect2"
|
608
|
+
<div class="refsect2">
|
609
609
|
<a name="GThreadPriority"></a><h3>enum GThreadPriority</h3>
|
610
610
|
<pre class="programlisting">typedef enum
|
611
611
|
{
|
@@ -620,7 +620,7 @@ Specifies the priority of a thread.
|
|
620
620
|
</p>
|
621
621
|
<p>
|
622
622
|
</p>
|
623
|
-
<div class="note"
|
623
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
624
624
|
<h3 class="title">Note</h3>
|
625
625
|
<p>It is not guaranteed that threads with different priorities
|
626
626
|
really behave accordingly. On some systems (e.g. Linux) there are no
|
@@ -657,7 +657,7 @@ try to avoid being dependent on priorities.</p>
|
|
657
657
|
</table></div>
|
658
658
|
</div>
|
659
659
|
<hr>
|
660
|
-
<div class="refsect2"
|
660
|
+
<div class="refsect2">
|
661
661
|
<a name="GThread"></a><h3>GThread</h3>
|
662
662
|
<pre class="programlisting">typedef struct {
|
663
663
|
} GThread;
|
@@ -669,7 +669,7 @@ not copy this struct.
|
|
669
669
|
</p>
|
670
670
|
<p>
|
671
671
|
</p>
|
672
|
-
<div class="note"
|
672
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
673
673
|
<h3 class="title">Note</h3>
|
674
674
|
<p>Resources for a joinable thread are not fully released
|
675
675
|
until <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_join ()"><code class="function">g_thread_join()</code></a> is called for that thread.</p>
|
@@ -678,7 +678,7 @@ until <a class="link" href="glib-Threads.html#g-thread-join" title="g_thread_joi
|
|
678
678
|
</p>
|
679
679
|
</div>
|
680
680
|
<hr>
|
681
|
-
<div class="refsect2"
|
681
|
+
<div class="refsect2">
|
682
682
|
<a name="g-thread-create"></a><h3>g_thread_create ()</h3>
|
683
683
|
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * g_thread_create (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
684
684
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
@@ -732,9 +732,9 @@ The error is set, if and only if the function returns <a class="link" href="glib
|
|
732
732
|
</table></div>
|
733
733
|
</div>
|
734
734
|
<hr>
|
735
|
-
<div class="refsect2"
|
735
|
+
<div class="refsect2">
|
736
736
|
<a name="g-thread-create-full"></a><h3>g_thread_create_full ()</h3>
|
737
|
-
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a
|
737
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * g_thread_create_full (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadFunc" title="GThreadFunc ()"><span class="type">GThreadFunc</span></a> func</code></em>,
|
738
738
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
739
739
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> stack_size</code></em>,
|
740
740
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> joinable</code></em>,
|
@@ -766,7 +766,7 @@ The error is set, if and only if the function returns <a class="link" href="glib
|
|
766
766
|
</p>
|
767
767
|
<p>
|
768
768
|
</p>
|
769
|
-
<div class="note"
|
769
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
770
770
|
<h3 class="title">Note</h3>
|
771
771
|
<p>It is not guaranteed that threads with different priorities
|
772
772
|
really behave accordingly. On some systems (e.g. Linux) there are no
|
@@ -779,7 +779,7 @@ try to avoid being dependent on priorities. Use
|
|
779
779
|
</p>
|
780
780
|
<p>
|
781
781
|
</p>
|
782
|
-
<div class="note"
|
782
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
783
783
|
<h3 class="title">Note</h3>
|
784
784
|
<p>Only use <a class="link" href="glib-Threads.html#g-thread-create-full" title="g_thread_create_full ()"><code class="function">g_thread_create_full()</code></a> if you really can't use
|
785
785
|
<a class="link" href="glib-Threads.html#g-thread-create" title="g_thread_create ()"><code class="function">g_thread_create()</code></a> instead. <a class="link" href="glib-Threads.html#g-thread-create" title="g_thread_create ()"><code class="function">g_thread_create()</code></a> does not take
|
@@ -835,9 +835,9 @@ be used in cases in which it is unavoidable.</p>
|
|
835
835
|
</table></div>
|
836
836
|
</div>
|
837
837
|
<hr>
|
838
|
-
<div class="refsect2"
|
838
|
+
<div class="refsect2">
|
839
839
|
<a name="g-thread-self"></a><h3>g_thread_self ()</h3>
|
840
|
-
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a
|
840
|
+
<pre class="programlisting"><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="returnvalue">GThread</span></a> * g_thread_self (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
841
841
|
<p>
|
842
842
|
This functions returns the <a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> corresponding to the calling
|
843
843
|
thread.
|
@@ -852,7 +852,7 @@ thread.
|
|
852
852
|
</table></div>
|
853
853
|
</div>
|
854
854
|
<hr>
|
855
|
-
<div class="refsect2"
|
855
|
+
<div class="refsect2">
|
856
856
|
<a name="g-thread-join"></a><h3>g_thread_join ()</h3>
|
857
857
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_thread_join (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>);</pre>
|
858
858
|
<p>
|
@@ -880,7 +880,7 @@ All resources of <em class="parameter"><code>thread</code></em> including the <a
|
|
880
880
|
</table></div>
|
881
881
|
</div>
|
882
882
|
<hr>
|
883
|
-
<div class="refsect2"
|
883
|
+
<div class="refsect2">
|
884
884
|
<a name="g-thread-set-priority"></a><h3>g_thread_set_priority ()</h3>
|
885
885
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_set_priority (<em class="parameter"><code><a class="link" href="glib-Threads.html#GThread" title="GThread"><span class="type">GThread</span></a> *thread</code></em>,
|
886
886
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GThreadPriority" title="enum GThreadPriority"><span class="type">GThreadPriority</span></a> priority</code></em>);</pre>
|
@@ -889,7 +889,7 @@ Changes the priority of <em class="parameter"><code>thread</code></em> to <em cl
|
|
889
889
|
</p>
|
890
890
|
<p>
|
891
891
|
</p>
|
892
|
-
<div class="note"
|
892
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
893
893
|
<h3 class="title">Note</h3>
|
894
894
|
<p>It is not guaranteed that threads with different
|
895
895
|
priorities really behave accordingly. On some systems (e.g. Linux)
|
@@ -916,7 +916,7 @@ in all try to avoid being dependent on priorities.</p>
|
|
916
916
|
</table></div>
|
917
917
|
</div>
|
918
918
|
<hr>
|
919
|
-
<div class="refsect2"
|
919
|
+
<div class="refsect2">
|
920
920
|
<a name="g-thread-yield"></a><h3>g_thread_yield ()</h3>
|
921
921
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_yield ();</pre>
|
922
922
|
<p>
|
@@ -929,7 +929,7 @@ that. So in general you shouldn't use this function.
|
|
929
929
|
</p>
|
930
930
|
</div>
|
931
931
|
<hr>
|
932
|
-
<div class="refsect2"
|
932
|
+
<div class="refsect2">
|
933
933
|
<a name="g-thread-exit"></a><h3>g_thread_exit ()</h3>
|
934
934
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_exit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> retval</code></em>);</pre>
|
935
935
|
<p>
|
@@ -960,7 +960,7 @@ to <a class="link" href="glib-Threads.html#g-thread-create" title="g_thread_crea
|
|
960
960
|
</p>
|
961
961
|
<p>
|
962
962
|
</p>
|
963
|
-
<div class="note"
|
963
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
964
964
|
<h3 class="title">Note</h3>
|
965
965
|
<p>Never call <a class="link" href="glib-Threads.html#g-thread-exit" title="g_thread_exit ()"><code class="function">g_thread_exit()</code></a> from within a thread of a
|
966
966
|
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a>, as that will mess up the bookkeeping and lead to funny
|
@@ -978,7 +978,7 @@ and unwanted results.</p>
|
|
978
978
|
</table></div>
|
979
979
|
</div>
|
980
980
|
<hr>
|
981
|
-
<div class="refsect2"
|
981
|
+
<div class="refsect2">
|
982
982
|
<a name="g-thread-foreach"></a><h3>g_thread_foreach ()</h3>
|
983
983
|
<pre class="programlisting"><span class="returnvalue">void</span> g_thread_foreach (<em class="parameter"><code><a class="link" href="glib-Doubly-Linked-Lists.html#GFunc" title="GFunc ()"><span class="type">GFunc</span></a> thread_func</code></em>,
|
984
984
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
@@ -1012,7 +1012,7 @@ which is quadratic in the number of existing threads.
|
|
1012
1012
|
<p class="since">Since 2.10</p>
|
1013
1013
|
</div>
|
1014
1014
|
<hr>
|
1015
|
-
<div class="refsect2"
|
1015
|
+
<div class="refsect2">
|
1016
1016
|
<a name="GMutex"></a><h3>GMutex</h3>
|
1017
1017
|
<pre class="programlisting">typedef struct _GMutex GMutex;</pre>
|
1018
1018
|
<p>
|
@@ -1023,7 +1023,7 @@ access. Take for example the following function:
|
|
1023
1023
|
<p>
|
1024
1024
|
</p>
|
1025
1025
|
<div class="example">
|
1026
|
-
<a name="
|
1026
|
+
<a name="id626773"></a><p class="title"><b>Example 2. A function which will not work in a threaded environment</b></p>
|
1027
1027
|
<div class="example-contents">
|
1028
1028
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1029
1029
|
<tbody>
|
@@ -1068,7 +1068,7 @@ access. A first naive implementation would be:
|
|
1068
1068
|
<p>
|
1069
1069
|
</p>
|
1070
1070
|
<div class="example">
|
1071
|
-
<a name="
|
1071
|
+
<a name="id626805"></a><p class="title"><b>Example 3. The wrong way to write a thread-safe function</b></p>
|
1072
1072
|
<div class="example-contents">
|
1073
1073
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1074
1074
|
<tbody>
|
@@ -1120,7 +1120,7 @@ is:
|
|
1120
1120
|
<p>
|
1121
1121
|
</p>
|
1122
1122
|
<div class="example">
|
1123
|
-
<a name="
|
1123
|
+
<a name="id626834"></a><p class="title"><b>Example 4. A correct thread-safe function</b></p>
|
1124
1124
|
<div class="example-contents">
|
1125
1125
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1126
1126
|
<tbody>
|
@@ -1199,7 +1199,7 @@ A <a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="ty
|
|
1199
1199
|
</p>
|
1200
1200
|
<p>
|
1201
1201
|
</p>
|
1202
|
-
<div class="note"
|
1202
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1203
1203
|
<h3 class="title">Note</h3>
|
1204
1204
|
<p>All of the <code class="function">g_mutex_*</code> functions are
|
1205
1205
|
actually macros. Apart from taking their addresses, you can however
|
@@ -1209,7 +1209,7 @@ use them as if they were functions.</p>
|
|
1209
1209
|
</p>
|
1210
1210
|
</div>
|
1211
1211
|
<hr>
|
1212
|
-
<div class="refsect2"
|
1212
|
+
<div class="refsect2">
|
1213
1213
|
<a name="g-mutex-new"></a><h3>g_mutex_new ()</h3>
|
1214
1214
|
<pre class="programlisting"><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="returnvalue">GMutex</span></a> * g_mutex_new ();</pre>
|
1215
1215
|
<p>
|
@@ -1217,7 +1217,7 @@ Creates a new <a class="link" href="glib-Threads.html#GMutex" title="GMutex"><sp
|
|
1217
1217
|
</p>
|
1218
1218
|
<p>
|
1219
1219
|
</p>
|
1220
|
-
<div class="note"
|
1220
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1221
1221
|
<h3 class="title">Note</h3>
|
1222
1222
|
<p>This function will abort if <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not been
|
1223
1223
|
called yet.</p>
|
@@ -1234,7 +1234,7 @@ called yet.</p>
|
|
1234
1234
|
</table></div>
|
1235
1235
|
</div>
|
1236
1236
|
<hr>
|
1237
|
-
<div class="refsect2"
|
1237
|
+
<div class="refsect2">
|
1238
1238
|
<a name="g-mutex-lock"></a><h3>g_mutex_lock ()</h3>
|
1239
1239
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mutex_lock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
1240
1240
|
<p>
|
@@ -1248,7 +1248,7 @@ called, and, in that case, will do nothing.
|
|
1248
1248
|
</p>
|
1249
1249
|
<p>
|
1250
1250
|
</p>
|
1251
|
-
<div class="note"
|
1251
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1252
1252
|
<h3 class="title">Note</h3>
|
1253
1253
|
<p><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> is neither guaranteed to be recursive nor to be
|
1254
1254
|
non-recursive, i.e. a thread could deadlock while calling
|
@@ -1267,7 +1267,7 @@ non-recursive, i.e. a thread could deadlock while calling
|
|
1267
1267
|
</table></div>
|
1268
1268
|
</div>
|
1269
1269
|
<hr>
|
1270
|
-
<div class="refsect2"
|
1270
|
+
<div class="refsect2">
|
1271
1271
|
<a name="g-mutex-trylock"></a><h3>g_mutex_trylock ()</h3>
|
1272
1272
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_mutex_trylock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
1273
1273
|
<p>
|
@@ -1281,7 +1281,7 @@ called, and, in that case, will immediately return <a class="link" href="glib-St
|
|
1281
1281
|
</p>
|
1282
1282
|
<p>
|
1283
1283
|
</p>
|
1284
|
-
<div class="note"
|
1284
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1285
1285
|
<h3 class="title">Note</h3>
|
1286
1286
|
<p><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> is neither guaranteed to be recursive nor to be
|
1287
1287
|
non-recursive, i.e. the return value of <a class="link" href="glib-Threads.html#g-mutex-trylock" title="g_mutex_trylock ()"><code class="function">g_mutex_trylock()</code></a> could be
|
@@ -1309,7 +1309,7 @@ mutexes.</p>
|
|
1309
1309
|
</table></div>
|
1310
1310
|
</div>
|
1311
1311
|
<hr>
|
1312
|
-
<div class="refsect2"
|
1312
|
+
<div class="refsect2">
|
1313
1313
|
<a name="g-mutex-unlock"></a><h3>g_mutex_unlock ()</h3>
|
1314
1314
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mutex_unlock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
1315
1315
|
<p>
|
@@ -1330,7 +1330,7 @@ called, and, in that case, will do nothing.
|
|
1330
1330
|
</table></div>
|
1331
1331
|
</div>
|
1332
1332
|
<hr>
|
1333
|
-
<div class="refsect2"
|
1333
|
+
<div class="refsect2">
|
1334
1334
|
<a name="g-mutex-free"></a><h3>g_mutex_free ()</h3>
|
1335
1335
|
<pre class="programlisting"><span class="returnvalue">void</span> g_mutex_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
1336
1336
|
<p>
|
@@ -1338,7 +1338,7 @@ Destroys <em class="parameter"><code>mutex</code></em>.
|
|
1338
1338
|
</p>
|
1339
1339
|
<p>
|
1340
1340
|
</p>
|
1341
|
-
<div class="note"
|
1341
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1342
1342
|
<h3 class="title">Note</h3>
|
1343
1343
|
<p>Calling <a class="link" href="glib-Threads.html#g-mutex-free" title="g_mutex_free ()"><code class="function">g_mutex_free()</code></a> on a locked mutex may result in
|
1344
1344
|
undefined behaviour.</p>
|
@@ -1355,7 +1355,7 @@ undefined behaviour.</p>
|
|
1355
1355
|
</table></div>
|
1356
1356
|
</div>
|
1357
1357
|
<hr>
|
1358
|
-
<div class="refsect2"
|
1358
|
+
<div class="refsect2">
|
1359
1359
|
<a name="GStaticMutex"></a><h3>GStaticMutex</h3>
|
1360
1360
|
<pre class="programlisting">typedef struct _GStaticMutex GStaticMutex;</pre>
|
1361
1361
|
<p>
|
@@ -1368,7 +1368,7 @@ example:
|
|
1368
1368
|
<p>
|
1369
1369
|
</p>
|
1370
1370
|
<div class="example">
|
1371
|
-
<a name="
|
1371
|
+
<a name="id627744"></a><p class="title"><b>Example 5.
|
1372
1372
|
Using <span class="structname">GStaticMutex</span>
|
1373
1373
|
to simplify thread-safe programming
|
1374
1374
|
</b></p>
|
@@ -1434,7 +1434,7 @@ which does nothing but returning <a class="link" href="glib-Standard-Macros.html
|
|
1434
1434
|
</p>
|
1435
1435
|
<p>
|
1436
1436
|
</p>
|
1437
|
-
<div class="note"
|
1437
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1438
1438
|
<h3 class="title">Note</h3>
|
1439
1439
|
<p>All of the <code class="function">g_static_mutex_*</code>
|
1440
1440
|
functions are actually macros. Apart from taking their addresses, you
|
@@ -1444,7 +1444,7 @@ can however use them as if they were functions.</p>
|
|
1444
1444
|
</p>
|
1445
1445
|
</div>
|
1446
1446
|
<hr>
|
1447
|
-
<div class="refsect2"
|
1447
|
+
<div class="refsect2">
|
1448
1448
|
<a name="G-STATIC-MUTEX-INIT:CAPS"></a><h3>G_STATIC_MUTEX_INIT</h3>
|
1449
1449
|
<pre class="programlisting">#define G_STATIC_MUTEX_INIT
|
1450
1450
|
</pre>
|
@@ -1471,7 +1471,7 @@ cannot be assigned to a variable. In that case you have to use
|
|
1471
1471
|
</p>
|
1472
1472
|
</div>
|
1473
1473
|
<hr>
|
1474
|
-
<div class="refsect2"
|
1474
|
+
<div class="refsect2">
|
1475
1475
|
<a name="g-static-mutex-init"></a><h3>g_static_mutex_init ()</h3>
|
1476
1476
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_init (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1477
1477
|
<p>
|
@@ -1488,7 +1488,7 @@ Initializes <em class="parameter"><code>mutex</code></em>. Alternatively you can
|
|
1488
1488
|
</table></div>
|
1489
1489
|
</div>
|
1490
1490
|
<hr>
|
1491
|
-
<div class="refsect2"
|
1491
|
+
<div class="refsect2">
|
1492
1492
|
<a name="g-static-mutex-lock"></a><h3>g_static_mutex_lock ()</h3>
|
1493
1493
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_lock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1494
1494
|
<p>
|
@@ -1504,7 +1504,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-lock" title="g_mutex_
|
|
1504
1504
|
</table></div>
|
1505
1505
|
</div>
|
1506
1506
|
<hr>
|
1507
|
-
<div class="refsect2"
|
1507
|
+
<div class="refsect2">
|
1508
1508
|
<a name="g-static-mutex-trylock"></a><h3>g_static_mutex_trylock ()</h3>
|
1509
1509
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_mutex_trylock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1510
1510
|
<p>
|
@@ -1528,7 +1528,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-trylock" title="g_mut
|
|
1528
1528
|
</table></div>
|
1529
1529
|
</div>
|
1530
1530
|
<hr>
|
1531
|
-
<div class="refsect2"
|
1531
|
+
<div class="refsect2">
|
1532
1532
|
<a name="g-static-mutex-unlock"></a><h3>g_static_mutex_unlock ()</h3>
|
1533
1533
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_unlock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1534
1534
|
<p>
|
@@ -1544,7 +1544,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-unlock" title="g_mute
|
|
1544
1544
|
</table></div>
|
1545
1545
|
</div>
|
1546
1546
|
<hr>
|
1547
|
-
<div class="refsect2"
|
1547
|
+
<div class="refsect2">
|
1548
1548
|
<a name="g-static-mutex-get-mutex"></a><h3>g_static_mutex_get_mutex ()</h3>
|
1549
1549
|
<pre class="programlisting"><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="returnvalue">GMutex</span></a> * g_static_mutex_get_mutex (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1550
1550
|
<p>
|
@@ -1569,7 +1569,7 @@ corresponding <a class="link" href="glib-Threads.html#GMutex" title="GMutex"><sp
|
|
1569
1569
|
</table></div>
|
1570
1570
|
</div>
|
1571
1571
|
<hr>
|
1572
|
-
<div class="refsect2"
|
1572
|
+
<div class="refsect2">
|
1573
1573
|
<a name="g-static-mutex-free"></a><h3>g_static_mutex_free ()</h3>
|
1574
1574
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_mutex_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticMutex" title="GStaticMutex"><span class="type">GStaticMutex</span></a> *mutex</code></em>);</pre>
|
1575
1575
|
<p>
|
@@ -1583,7 +1583,7 @@ freed, you should also free the <a class="link" href="glib-Threads.html#GStaticM
|
|
1583
1583
|
</p>
|
1584
1584
|
<p>
|
1585
1585
|
</p>
|
1586
|
-
<div class="note"
|
1586
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1587
1587
|
<h3 class="title">Note</h3>
|
1588
1588
|
<p>Calling <a class="link" href="glib-Threads.html#g-static-mutex-free" title="g_static_mutex_free ()"><code class="function">g_static_mutex_free()</code></a> on a locked mutex may
|
1589
1589
|
result in undefined behaviour.</p>
|
@@ -1600,7 +1600,7 @@ result in undefined behaviour.</p>
|
|
1600
1600
|
</table></div>
|
1601
1601
|
</div>
|
1602
1602
|
<hr>
|
1603
|
-
<div class="refsect2"
|
1603
|
+
<div class="refsect2">
|
1604
1604
|
<a name="G-LOCK-DEFINE:CAPS"></a><h3>G_LOCK_DEFINE()</h3>
|
1605
1605
|
<pre class="programlisting">#define G_LOCK_DEFINE(name)</pre>
|
1606
1606
|
<p>
|
@@ -1619,7 +1619,7 @@ of the variable you intent to protect with the lock. Look at our
|
|
1619
1619
|
<p>
|
1620
1620
|
</p>
|
1621
1621
|
<div class="example">
|
1622
|
-
<a name="
|
1622
|
+
<a name="id628794"></a><p class="title"><b>Example 6. Using the <code class="literal">G_LOCK_</code>* convenience macros</b></p>
|
1623
1623
|
<div class="example-contents">
|
1624
1624
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1625
1625
|
<tbody>
|
@@ -1670,7 +1670,7 @@ of the variable you intent to protect with the lock. Look at our
|
|
1670
1670
|
</table></div>
|
1671
1671
|
</div>
|
1672
1672
|
<hr>
|
1673
|
-
<div class="refsect2"
|
1673
|
+
<div class="refsect2">
|
1674
1674
|
<a name="G-LOCK-DEFINE-STATIC:CAPS"></a><h3>G_LOCK_DEFINE_STATIC()</h3>
|
1675
1675
|
<pre class="programlisting">#define G_LOCK_DEFINE_STATIC(name)</pre>
|
1676
1676
|
<p>
|
@@ -1686,7 +1686,7 @@ This works like <a class="link" href="glib-Threads.html#G-LOCK-DEFINE:CAPS" titl
|
|
1686
1686
|
</table></div>
|
1687
1687
|
</div>
|
1688
1688
|
<hr>
|
1689
|
-
<div class="refsect2"
|
1689
|
+
<div class="refsect2">
|
1690
1690
|
<a name="G-LOCK-EXTERN:CAPS"></a><h3>G_LOCK_EXTERN()</h3>
|
1691
1691
|
<pre class="programlisting">#define G_LOCK_EXTERN(name)</pre>
|
1692
1692
|
<p>
|
@@ -1703,7 +1703,7 @@ module.
|
|
1703
1703
|
</table></div>
|
1704
1704
|
</div>
|
1705
1705
|
<hr>
|
1706
|
-
<div class="refsect2"
|
1706
|
+
<div class="refsect2">
|
1707
1707
|
<a name="G-LOCK:CAPS"></a><h3>G_LOCK()</h3>
|
1708
1708
|
<pre class="programlisting">#define G_LOCK(name)</pre>
|
1709
1709
|
<p>
|
@@ -1720,7 +1720,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-lock" title="g_mutex_
|
|
1720
1720
|
</table></div>
|
1721
1721
|
</div>
|
1722
1722
|
<hr>
|
1723
|
-
<div class="refsect2"
|
1723
|
+
<div class="refsect2">
|
1724
1724
|
<a name="G-TRYLOCK:CAPS"></a><h3>G_TRYLOCK()</h3>
|
1725
1725
|
<pre class="programlisting">#define G_TRYLOCK(name)</pre>
|
1726
1726
|
<p>
|
@@ -1745,7 +1745,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-trylock" title="g_mut
|
|
1745
1745
|
</table></div>
|
1746
1746
|
</div>
|
1747
1747
|
<hr>
|
1748
|
-
<div class="refsect2"
|
1748
|
+
<div class="refsect2">
|
1749
1749
|
<a name="G-UNLOCK:CAPS"></a><h3>G_UNLOCK()</h3>
|
1750
1750
|
<pre class="programlisting">#define G_UNLOCK(name)</pre>
|
1751
1751
|
<p>
|
@@ -1762,7 +1762,7 @@ Works like <a class="link" href="glib-Threads.html#g-mutex-unlock" title="g_mute
|
|
1762
1762
|
</table></div>
|
1763
1763
|
</div>
|
1764
1764
|
<hr>
|
1765
|
-
<div class="refsect2"
|
1765
|
+
<div class="refsect2">
|
1766
1766
|
<a name="GStaticRecMutex"></a><h3>GStaticRecMutex</h3>
|
1767
1767
|
<pre class="programlisting">typedef struct {
|
1768
1768
|
} GStaticRecMutex;
|
@@ -1789,7 +1789,7 @@ which does nothing but returning <a class="link" href="glib-Standard-Macros.html
|
|
1789
1789
|
</p>
|
1790
1790
|
</div>
|
1791
1791
|
<hr>
|
1792
|
-
<div class="refsect2"
|
1792
|
+
<div class="refsect2">
|
1793
1793
|
<a name="G-STATIC-REC-MUTEX-INIT:CAPS"></a><h3>G_STATIC_REC_MUTEX_INIT</h3>
|
1794
1794
|
<pre class="programlisting">#define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }
|
1795
1795
|
</pre>
|
@@ -1816,7 +1816,7 @@ cannot be assigned to a variable. In that case you have to use
|
|
1816
1816
|
</p>
|
1817
1817
|
</div>
|
1818
1818
|
<hr>
|
1819
|
-
<div class="refsect2"
|
1819
|
+
<div class="refsect2">
|
1820
1820
|
<a name="g-static-rec-mutex-init"></a><h3>g_static_rec_mutex_init ()</h3>
|
1821
1821
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_init (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1822
1822
|
<p>
|
@@ -1834,7 +1834,7 @@ can be used. Alternatively you can initialize it with
|
|
1834
1834
|
</table></div>
|
1835
1835
|
</div>
|
1836
1836
|
<hr>
|
1837
|
-
<div class="refsect2"
|
1837
|
+
<div class="refsect2">
|
1838
1838
|
<a name="g-static-rec-mutex-lock"></a><h3>g_static_rec_mutex_lock ()</h3>
|
1839
1839
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_lock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1840
1840
|
<p>
|
@@ -1853,7 +1853,7 @@ functions increases the depth of <em class="parameter"><code>mutex</code></em> a
|
|
1853
1853
|
</table></div>
|
1854
1854
|
</div>
|
1855
1855
|
<hr>
|
1856
|
-
<div class="refsect2"
|
1856
|
+
<div class="refsect2">
|
1857
1857
|
<a name="g-static-rec-mutex-trylock"></a><h3>g_static_rec_mutex_trylock ()</h3>
|
1858
1858
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rec_mutex_trylock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1859
1859
|
<p>
|
@@ -1881,7 +1881,7 @@ functions increases the depth of <em class="parameter"><code>mutex</code></em> a
|
|
1881
1881
|
</table></div>
|
1882
1882
|
</div>
|
1883
1883
|
<hr>
|
1884
|
-
<div class="refsect2"
|
1884
|
+
<div class="refsect2">
|
1885
1885
|
<a name="g-static-rec-mutex-unlock"></a><h3>g_static_rec_mutex_unlock ()</h3>
|
1886
1886
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_unlock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1887
1887
|
<p>
|
@@ -1901,7 +1901,7 @@ woken and can lock <em class="parameter"><code>mutex</code></em> itself.
|
|
1901
1901
|
</table></div>
|
1902
1902
|
</div>
|
1903
1903
|
<hr>
|
1904
|
-
<div class="refsect2"
|
1904
|
+
<div class="refsect2">
|
1905
1905
|
<a name="g-static-rec-mutex-lock-full"></a><h3>g_static_rec_mutex_lock_full ()</h3>
|
1906
1906
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_lock_full (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>,
|
1907
1907
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> depth</code></em>);</pre>
|
@@ -1926,7 +1926,7 @@ Works like calling <a class="link" href="glib-Threads.html#g-static-rec-mutex-lo
|
|
1926
1926
|
</table></div>
|
1927
1927
|
</div>
|
1928
1928
|
<hr>
|
1929
|
-
<div class="refsect2"
|
1929
|
+
<div class="refsect2">
|
1930
1930
|
<a name="g-static-rec-mutex-unlock-full"></a><h3>g_static_rec_mutex_unlock_full ()</h3>
|
1931
1931
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_static_rec_mutex_unlock_full (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1932
1932
|
<p>
|
@@ -1956,7 +1956,7 @@ function.
|
|
1956
1956
|
</table></div>
|
1957
1957
|
</div>
|
1958
1958
|
<hr>
|
1959
|
-
<div class="refsect2"
|
1959
|
+
<div class="refsect2">
|
1960
1960
|
<a name="g-static-rec-mutex-free"></a><h3>g_static_rec_mutex_free ()</h3>
|
1961
1961
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rec_mutex_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRecMutex" title="GStaticRecMutex"><span class="type">GStaticRecMutex</span></a> *mutex</code></em>);</pre>
|
1962
1962
|
<p>
|
@@ -1978,7 +1978,7 @@ freed, you should also free the <a class="link" href="glib-Threads.html#GStaticR
|
|
1978
1978
|
</table></div>
|
1979
1979
|
</div>
|
1980
1980
|
<hr>
|
1981
|
-
<div class="refsect2"
|
1981
|
+
<div class="refsect2">
|
1982
1982
|
<a name="GStaticRWLock"></a><h3>GStaticRWLock</h3>
|
1983
1983
|
<pre class="programlisting">typedef struct {
|
1984
1984
|
} GStaticRWLock;
|
@@ -1994,7 +1994,7 @@ example:
|
|
1994
1994
|
<p>
|
1995
1995
|
</p>
|
1996
1996
|
<div class="example">
|
1997
|
-
<a name="
|
1997
|
+
<a name="id630409"></a><p class="title"><b>Example 7. An array with access functions</b></p>
|
1998
1998
|
<div class="example-contents">
|
1999
1999
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2000
2000
|
<tbody>
|
@@ -2102,7 +2102,7 @@ which does nothing but returning <a class="link" href="glib-Standard-Macros.html
|
|
2102
2102
|
</p>
|
2103
2103
|
<p>
|
2104
2104
|
</p>
|
2105
|
-
<div class="note"
|
2105
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2106
2106
|
<h3 class="title">Note</h3>
|
2107
2107
|
<p>A read-write lock has a higher overhead than a mutex. For
|
2108
2108
|
example, both <a class="link" href="glib-Threads.html#g-static-rw-lock-reader-lock" title="g_static_rw_lock_reader_lock ()"><code class="function">g_static_rw_lock_reader_lock()</code></a> and
|
@@ -2118,7 +2118,7 @@ above example most probably would fare better with a
|
|
2118
2118
|
</p>
|
2119
2119
|
</div>
|
2120
2120
|
<hr>
|
2121
|
-
<div class="refsect2"
|
2121
|
+
<div class="refsect2">
|
2122
2122
|
<a name="G-STATIC-RW-LOCK-INIT:CAPS"></a><h3>G_STATIC_RW_LOCK_INIT</h3>
|
2123
2123
|
<pre class="programlisting">#define G_STATIC_RW_LOCK_INIT { G_STATIC_MUTEX_INIT, NULL, NULL, 0, FALSE, 0, 0 }
|
2124
2124
|
</pre>
|
@@ -2145,7 +2145,7 @@ cannot be assigned to a variable. In that case you have to use
|
|
2145
2145
|
</p>
|
2146
2146
|
</div>
|
2147
2147
|
<hr>
|
2148
|
-
<div class="refsect2"
|
2148
|
+
<div class="refsect2">
|
2149
2149
|
<a name="g-static-rw-lock-init"></a><h3>g_static_rw_lock_init ()</h3>
|
2150
2150
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_init (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2151
2151
|
<p>
|
@@ -2163,7 +2163,7 @@ can be used. Alternatively you can initialize it with
|
|
2163
2163
|
</table></div>
|
2164
2164
|
</div>
|
2165
2165
|
<hr>
|
2166
|
-
<div class="refsect2"
|
2166
|
+
<div class="refsect2">
|
2167
2167
|
<a name="g-static-rw-lock-reader-lock"></a><h3>g_static_rw_lock_reader_lock ()</h3>
|
2168
2168
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_reader_lock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2169
2169
|
<p>
|
@@ -2190,7 +2190,7 @@ to writer preference.
|
|
2190
2190
|
</table></div>
|
2191
2191
|
</div>
|
2192
2192
|
<hr>
|
2193
|
-
<div class="refsect2"
|
2193
|
+
<div class="refsect2">
|
2194
2194
|
<a name="g-static-rw-lock-reader-trylock"></a><h3>g_static_rw_lock_reader_trylock ()</h3>
|
2195
2195
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rw_lock_reader_trylock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2196
2196
|
<p>
|
@@ -2218,7 +2218,7 @@ lock <em class="parameter"><code>lock</code></em> for writing, immediately retur
|
|
2218
2218
|
</table></div>
|
2219
2219
|
</div>
|
2220
2220
|
<hr>
|
2221
|
-
<div class="refsect2"
|
2221
|
+
<div class="refsect2">
|
2222
2222
|
<a name="g-static-rw-lock-reader-unlock"></a><h3>g_static_rw_lock_reader_unlock ()</h3>
|
2223
2223
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_reader_unlock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2224
2224
|
<p>
|
@@ -2236,7 +2236,7 @@ and can lock <em class="parameter"><code>lock</code></em> for writing.
|
|
2236
2236
|
</table></div>
|
2237
2237
|
</div>
|
2238
2238
|
<hr>
|
2239
|
-
<div class="refsect2"
|
2239
|
+
<div class="refsect2">
|
2240
2240
|
<a name="g-static-rw-lock-writer-lock"></a><h3>g_static_rw_lock_writer_lock ()</h3>
|
2241
2241
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_writer_lock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2242
2242
|
<p>
|
@@ -2258,7 +2258,7 @@ unlocked by <a class="link" href="glib-Threads.html#g-static-rw-lock-writer-unlo
|
|
2258
2258
|
</table></div>
|
2259
2259
|
</div>
|
2260
2260
|
<hr>
|
2261
|
-
<div class="refsect2"
|
2261
|
+
<div class="refsect2">
|
2262
2262
|
<a name="g-static-rw-lock-writer-trylock"></a><h3>g_static_rw_lock_writer_trylock ()</h3>
|
2263
2263
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_static_rw_lock_writer_trylock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2264
2264
|
<p>
|
@@ -2285,7 +2285,7 @@ lock has to be unlocked by <a class="link" href="glib-Threads.html#g-static-rw-l
|
|
2285
2285
|
</table></div>
|
2286
2286
|
</div>
|
2287
2287
|
<hr>
|
2288
|
-
<div class="refsect2"
|
2288
|
+
<div class="refsect2">
|
2289
2289
|
<a name="g-static-rw-lock-writer-unlock"></a><h3>g_static_rw_lock_writer_unlock ()</h3>
|
2290
2290
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_writer_unlock (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2291
2291
|
<p>
|
@@ -2306,7 +2306,7 @@ lock <em class="parameter"><code>lock</code></em> for reading.
|
|
2306
2306
|
</table></div>
|
2307
2307
|
</div>
|
2308
2308
|
<hr>
|
2309
|
-
<div class="refsect2"
|
2309
|
+
<div class="refsect2">
|
2310
2310
|
<a name="g-static-rw-lock-free"></a><h3>g_static_rw_lock_free ()</h3>
|
2311
2311
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_rw_lock_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticRWLock" title="GStaticRWLock"><span class="type">GStaticRWLock</span></a> *lock</code></em>);</pre>
|
2312
2312
|
<p>
|
@@ -2328,7 +2328,7 @@ freed, you should also free the <a class="link" href="glib-Threads.html#GStaticR
|
|
2328
2328
|
</table></div>
|
2329
2329
|
</div>
|
2330
2330
|
<hr>
|
2331
|
-
<div class="refsect2"
|
2331
|
+
<div class="refsect2">
|
2332
2332
|
<a name="GCond"></a><h3>GCond</h3>
|
2333
2333
|
<pre class="programlisting">typedef struct _GCond GCond;</pre>
|
2334
2334
|
<p>
|
@@ -2341,7 +2341,7 @@ threads to be woken up.
|
|
2341
2341
|
<p>
|
2342
2342
|
</p>
|
2343
2343
|
<div class="example">
|
2344
|
-
<a name="
|
2344
|
+
<a name="id631812"></a><p class="title"><b>Example 8.
|
2345
2345
|
Using GCond to block a thread until a condition is satisfied
|
2346
2346
|
</b></p>
|
2347
2347
|
<div class="example-contents">
|
@@ -2417,7 +2417,7 @@ has called <code class="function"><code class="function">push_data()</code></cod
|
|
2417
2417
|
</p>
|
2418
2418
|
<p>
|
2419
2419
|
</p>
|
2420
|
-
<div class="note"
|
2420
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2421
2421
|
<h3 class="title">Note</h3>
|
2422
2422
|
<p>It is important to use the <a class="link" href="glib-Threads.html#g-cond-wait" title="g_cond_wait ()"><code class="function">g_cond_wait()</code></a> and
|
2423
2423
|
<a class="link" href="glib-Threads.html#g-cond-timed-wait" title="g_cond_timed_wait ()"><code class="function">g_cond_timed_wait()</code></a> functions only inside a loop which checks for the
|
@@ -2435,7 +2435,7 @@ A <a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type
|
|
2435
2435
|
</p>
|
2436
2436
|
<p>
|
2437
2437
|
</p>
|
2438
|
-
<div class="note"
|
2438
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2439
2439
|
<h3 class="title">Note</h3>
|
2440
2440
|
<p>All of the <code class="function">g_cond_*</code> functions are
|
2441
2441
|
actually macros. Apart from taking their addresses, you can however
|
@@ -2445,7 +2445,7 @@ use them as if they were functions.</p>
|
|
2445
2445
|
</p>
|
2446
2446
|
</div>
|
2447
2447
|
<hr>
|
2448
|
-
<div class="refsect2"
|
2448
|
+
<div class="refsect2">
|
2449
2449
|
<a name="g-cond-new"></a><h3>g_cond_new ()</h3>
|
2450
2450
|
<pre class="programlisting"><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="returnvalue">GCond</span></a>* g_cond_new ();</pre>
|
2451
2451
|
<p>
|
@@ -2462,7 +2462,7 @@ has not been called yet.
|
|
2462
2462
|
</table></div>
|
2463
2463
|
</div>
|
2464
2464
|
<hr>
|
2465
|
-
<div class="refsect2"
|
2465
|
+
<div class="refsect2">
|
2466
2466
|
<a name="g-cond-signal"></a><h3>g_cond_signal ()</h3>
|
2467
2467
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cond_signal (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>);</pre>
|
2468
2468
|
<p>
|
@@ -2484,7 +2484,7 @@ called, and, in that case, will do nothing.
|
|
2484
2484
|
</table></div>
|
2485
2485
|
</div>
|
2486
2486
|
<hr>
|
2487
|
-
<div class="refsect2"
|
2487
|
+
<div class="refsect2">
|
2488
2488
|
<a name="g-cond-broadcast"></a><h3>g_cond_broadcast ()</h3>
|
2489
2489
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cond_broadcast (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>);</pre>
|
2490
2490
|
<p>
|
@@ -2506,7 +2506,7 @@ called, and, in that case, will do nothing.
|
|
2506
2506
|
</table></div>
|
2507
2507
|
</div>
|
2508
2508
|
<hr>
|
2509
|
-
<div class="refsect2"
|
2509
|
+
<div class="refsect2">
|
2510
2510
|
<a name="g-cond-wait"></a><h3>g_cond_wait ()</h3>
|
2511
2511
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cond_wait (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>,
|
2512
2512
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>);</pre>
|
@@ -2535,7 +2535,7 @@ called, and, in that case, will immediately return.
|
|
2535
2535
|
</table></div>
|
2536
2536
|
</div>
|
2537
2537
|
<hr>
|
2538
|
-
<div class="refsect2"
|
2538
|
+
<div class="refsect2">
|
2539
2539
|
<a name="g-cond-timed-wait"></a><h3>g_cond_timed_wait ()</h3>
|
2540
2540
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_cond_timed_wait (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>,
|
2541
2541
|
<em class="parameter"><code><a class="link" href="glib-Threads.html#GMutex" title="GMutex"><span class="type">GMutex</span></a> *mutex</code></em>,
|
@@ -2584,7 +2584,7 @@ and <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-add" titl
|
|
2584
2584
|
</table></div>
|
2585
2585
|
</div>
|
2586
2586
|
<hr>
|
2587
|
-
<div class="refsect2"
|
2587
|
+
<div class="refsect2">
|
2588
2588
|
<a name="g-cond-free"></a><h3>g_cond_free ()</h3>
|
2589
2589
|
<pre class="programlisting"><span class="returnvalue">void</span> g_cond_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GCond" title="GCond"><span class="type">GCond</span></a> *cond</code></em>);</pre>
|
2590
2590
|
<p>
|
@@ -2600,7 +2600,7 @@ Destroys the <a class="link" href="glib-Threads.html#GCond" title="GCond"><span
|
|
2600
2600
|
</table></div>
|
2601
2601
|
</div>
|
2602
2602
|
<hr>
|
2603
|
-
<div class="refsect2"
|
2603
|
+
<div class="refsect2">
|
2604
2604
|
<a name="GPrivate"></a><h3>GPrivate</h3>
|
2605
2605
|
<pre class="programlisting">typedef struct _GPrivate GPrivate;</pre>
|
2606
2606
|
<p>
|
@@ -2615,7 +2615,7 @@ This can be done as follows:
|
|
2615
2615
|
<p>
|
2616
2616
|
</p>
|
2617
2617
|
<div class="example">
|
2618
|
-
<a name="
|
2618
|
+
<a name="id632863"></a><p class="title"><b>Example 9. Using GPrivate for per-thread data</b></p>
|
2619
2619
|
<div class="example-contents">
|
2620
2620
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2621
2621
|
<tbody>
|
@@ -2679,7 +2679,7 @@ functions.
|
|
2679
2679
|
</p>
|
2680
2680
|
<p>
|
2681
2681
|
</p>
|
2682
|
-
<div class="note"
|
2682
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2683
2683
|
<h3 class="title">Note</h3>
|
2684
2684
|
<p>All of the <code class="function">g_private_*</code> functions are
|
2685
2685
|
actually macros. Apart from taking their addresses, you can however
|
@@ -2689,7 +2689,7 @@ use them as if they were functions.</p>
|
|
2689
2689
|
</p>
|
2690
2690
|
</div>
|
2691
2691
|
<hr>
|
2692
|
-
<div class="refsect2"
|
2692
|
+
<div class="refsect2">
|
2693
2693
|
<a name="g-private-new"></a><h3>g_private_new ()</h3>
|
2694
2694
|
<pre class="programlisting"><a class="link" href="glib-Threads.html#GPrivate" title="GPrivate"><span class="returnvalue">GPrivate</span></a>* g_private_new (<em class="parameter"><code><a class="link" href="glib-Datasets.html#GDestroyNotify" title="GDestroyNotify ()"><span class="type">GDestroyNotify</span></a> destructor</code></em>);</pre>
|
2695
2695
|
<p>
|
@@ -2701,7 +2701,7 @@ argument.
|
|
2701
2701
|
</p>
|
2702
2702
|
<p>
|
2703
2703
|
</p>
|
2704
|
-
<div class="note"
|
2704
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2705
2705
|
<h3 class="title">Note</h3>
|
2706
2706
|
<p><em class="parameter"><code>destructor</code></em> is used quite differently from <em class="parameter"><code>notify</code></em> in
|
2707
2707
|
<a class="link" href="glib-Threads.html#g-static-private-set" title="g_static_private_set ()"><code class="function">g_static_private_set()</code></a>.</p>
|
@@ -2710,7 +2710,7 @@ argument.
|
|
2710
2710
|
</p>
|
2711
2711
|
<p>
|
2712
2712
|
</p>
|
2713
|
-
<div class="note"
|
2713
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2714
2714
|
<h3 class="title">Note</h3>
|
2715
2715
|
<p>A <a class="link" href="glib-Threads.html#GPrivate" title="GPrivate"><span class="type">GPrivate</span></a> can not be freed. Reuse it instead, if you
|
2716
2716
|
can, to avoid shortage, or use <a class="link" href="glib-Threads.html#GStaticPrivate" title="GStaticPrivate"><span class="type">GStaticPrivate</span></a>.</p>
|
@@ -2719,7 +2719,7 @@ can, to avoid shortage, or use <a class="link" href="glib-Threads.html#GStaticPr
|
|
2719
2719
|
</p>
|
2720
2720
|
<p>
|
2721
2721
|
</p>
|
2722
|
-
<div class="note"
|
2722
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2723
2723
|
<h3 class="title">Note</h3>
|
2724
2724
|
<p>This function will abort if <a class="link" href="glib-Threads.html#g-thread-init" title="g_thread_init ()"><code class="function">g_thread_init()</code></a> has not been
|
2725
2725
|
called yet.</p>
|
@@ -2744,7 +2744,7 @@ called yet.</p>
|
|
2744
2744
|
</table></div>
|
2745
2745
|
</div>
|
2746
2746
|
<hr>
|
2747
|
-
<div class="refsect2"
|
2747
|
+
<div class="refsect2">
|
2748
2748
|
<a name="g-private-get"></a><h3>g_private_get ()</h3>
|
2749
2749
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_private_get (<em class="parameter"><code><a class="link" href="glib-Threads.html#GPrivate" title="GPrivate"><span class="type">GPrivate</span></a> *private_key</code></em>);</pre>
|
2750
2750
|
<p>
|
@@ -2779,7 +2779,7 @@ before threading system intialization.
|
|
2779
2779
|
</table></div>
|
2780
2780
|
</div>
|
2781
2781
|
<hr>
|
2782
|
-
<div class="refsect2"
|
2782
|
+
<div class="refsect2">
|
2783
2783
|
<a name="g-private-set"></a><h3>g_private_set ()</h3>
|
2784
2784
|
<pre class="programlisting"><span class="returnvalue">void</span> g_private_set (<em class="parameter"><code><a class="link" href="glib-Threads.html#GPrivate" title="GPrivate"><span class="type">GPrivate</span></a> *private_key</code></em>,
|
2785
2785
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
@@ -2808,7 +2808,7 @@ called, and, in that case, will set <em class="parameter"><code>private_key</cod
|
|
2808
2808
|
</table></div>
|
2809
2809
|
</div>
|
2810
2810
|
<hr>
|
2811
|
-
<div class="refsect2"
|
2811
|
+
<div class="refsect2">
|
2812
2812
|
<a name="GStaticPrivate"></a><h3>GStaticPrivate</h3>
|
2813
2813
|
<pre class="programlisting">typedef struct {
|
2814
2814
|
} GStaticPrivate;
|
@@ -2824,7 +2824,7 @@ look at our <code class="function"><code class="function">give_me_next_number()<
|
|
2824
2824
|
<p>
|
2825
2825
|
</p>
|
2826
2826
|
<div class="example">
|
2827
|
-
<a name="
|
2827
|
+
<a name="id633631"></a><p class="title"><b>Example 10. Using GStaticPrivate for per-thread data</b></p>
|
2828
2828
|
<div class="example-contents">
|
2829
2829
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2830
2830
|
<tbody>
|
@@ -2873,7 +2873,7 @@ look at our <code class="function"><code class="function">give_me_next_number()<
|
|
2873
2873
|
</p>
|
2874
2874
|
</div>
|
2875
2875
|
<hr>
|
2876
|
-
<div class="refsect2"
|
2876
|
+
<div class="refsect2">
|
2877
2877
|
<a name="G-STATIC-PRIVATE-INIT:CAPS"></a><h3>G_STATIC_PRIVATE_INIT</h3>
|
2878
2878
|
<pre class="programlisting">#define G_STATIC_PRIVATE_INIT
|
2879
2879
|
</pre>
|
@@ -2898,7 +2898,7 @@ can be used.
|
|
2898
2898
|
</p>
|
2899
2899
|
</div>
|
2900
2900
|
<hr>
|
2901
|
-
<div class="refsect2"
|
2901
|
+
<div class="refsect2">
|
2902
2902
|
<a name="g-static-private-init"></a><h3>g_static_private_init ()</h3>
|
2903
2903
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_init (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticPrivate" title="GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
2904
2904
|
<p>
|
@@ -2915,7 +2915,7 @@ Initializes <em class="parameter"><code>private_key</code></em>. Alternatively y
|
|
2915
2915
|
</table></div>
|
2916
2916
|
</div>
|
2917
2917
|
<hr>
|
2918
|
-
<div class="refsect2"
|
2918
|
+
<div class="refsect2">
|
2919
2919
|
<a name="g-static-private-get"></a><h3>g_static_private_get ()</h3>
|
2920
2920
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="returnvalue">gpointer</span></a> g_static_private_get (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticPrivate" title="GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
2921
2921
|
<p>
|
@@ -2941,7 +2941,7 @@ This function works even if <a class="link" href="glib-Threads.html#g-thread-ini
|
|
2941
2941
|
</table></div>
|
2942
2942
|
</div>
|
2943
2943
|
<hr>
|
2944
|
-
<div class="refsect2"
|
2944
|
+
<div class="refsect2">
|
2945
2945
|
<a name="g-static-private-set"></a><h3>g_static_private_set ()</h3>
|
2946
2946
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_set (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticPrivate" title="GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>,
|
2947
2947
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gpointer" title="gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
@@ -2960,7 +2960,7 @@ will be inherited only by the main thread, i.e. the one that called
|
|
2960
2960
|
</p>
|
2961
2961
|
<p>
|
2962
2962
|
</p>
|
2963
|
-
<div class="note"
|
2963
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2964
2964
|
<h3 class="title">Note</h3>
|
2965
2965
|
<p><em class="parameter"><code>notify</code></em> is used quite differently from <em class="parameter"><code>destructor</code></em> in
|
2966
2966
|
<a class="link" href="glib-Threads.html#g-private-new" title="g_private_new ()"><code class="function">g_private_new()</code></a>.</p>
|
@@ -2990,7 +2990,7 @@ will be inherited only by the main thread, i.e. the one that called
|
|
2990
2990
|
</table></div>
|
2991
2991
|
</div>
|
2992
2992
|
<hr>
|
2993
|
-
<div class="refsect2"
|
2993
|
+
<div class="refsect2">
|
2994
2994
|
<a name="g-static-private-free"></a><h3>g_static_private_free ()</h3>
|
2995
2995
|
<pre class="programlisting"><span class="returnvalue">void</span> g_static_private_free (<em class="parameter"><code><a class="link" href="glib-Threads.html#GStaticPrivate" title="GStaticPrivate"><span class="type">GStaticPrivate</span></a> *private_key</code></em>);</pre>
|
2996
2996
|
<p>
|
@@ -3012,7 +3012,7 @@ freed, you should also free the <a class="link" href="glib-Threads.html#GStaticP
|
|
3012
3012
|
</table></div>
|
3013
3013
|
</div>
|
3014
3014
|
<hr>
|
3015
|
-
<div class="refsect2"
|
3015
|
+
<div class="refsect2">
|
3016
3016
|
<a name="GOnce"></a><h3>GOnce</h3>
|
3017
3017
|
<pre class="programlisting">typedef struct {
|
3018
3018
|
volatile GOnceStatus status;
|
@@ -3043,7 +3043,7 @@ struct.
|
|
3043
3043
|
<p class="since">Since 2.4</p>
|
3044
3044
|
</div>
|
3045
3045
|
<hr>
|
3046
|
-
<div class="refsect2"
|
3046
|
+
<div class="refsect2">
|
3047
3047
|
<a name="GOnceStatus"></a><h3>enum GOnceStatus</h3>
|
3048
3048
|
<pre class="programlisting">typedef enum
|
3049
3049
|
{
|
@@ -3079,7 +3079,7 @@ controlled by a <a class="link" href="glib-Threads.html#GOnce" title="GOnce"><sp
|
|
3079
3079
|
<p class="since">Since 2.4</p>
|
3080
3080
|
</div>
|
3081
3081
|
<hr>
|
3082
|
-
<div class="refsect2"
|
3082
|
+
<div class="refsect2">
|
3083
3083
|
<a name="G-ONCE-INIT:CAPS"></a><h3>G_ONCE_INIT</h3>
|
3084
3084
|
<pre class="programlisting">#define G_ONCE_INIT { G_ONCE_STATUS_NOTCALLED, NULL }
|
3085
3085
|
</pre>
|
@@ -3104,7 +3104,7 @@ A <a class="link" href="glib-Threads.html#GOnce" title="GOnce"><span class="type
|
|
3104
3104
|
<p class="since">Since 2.4</p>
|
3105
3105
|
</div>
|
3106
3106
|
<hr>
|
3107
|
-
<div class="refsect2"
|
3107
|
+
<div class="refsect2">
|
3108
3108
|
<a name="g-once"></a><h3>g_once()</h3>
|
3109
3109
|
<pre class="programlisting">#define g_once(once, func, arg)</pre>
|
3110
3110
|
<p>
|
@@ -3121,7 +3121,7 @@ that the initialization is serialized across multiple threads.
|
|
3121
3121
|
</p>
|
3122
3122
|
<p>
|
3123
3123
|
</p>
|
3124
|
-
<div class="note"
|
3124
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
3125
3125
|
<h3 class="title">Note</h3>
|
3126
3126
|
<p>Calling <a class="link" href="glib-Threads.html#g-once" title="g_once()"><code class="function">g_once()</code></a> recursively on the same <a class="link" href="glib-Threads.html#GOnce" title="GOnce"><span class="type">GOnce</span></a> struct in
|
3127
3127
|
<em class="parameter"><code>func</code></em> will lead to a deadlock.</p>
|
@@ -3184,7 +3184,7 @@ that the initialization is serialized across multiple threads.
|
|
3184
3184
|
<p class="since">Since 2.4</p>
|
3185
3185
|
</div>
|
3186
3186
|
<hr>
|
3187
|
-
<div class="refsect2"
|
3187
|
+
<div class="refsect2">
|
3188
3188
|
<a name="g-once-init-enter"></a><h3>g_once_init_enter ()</h3>
|
3189
3189
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_once_init_enter (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *value_location</code></em>);</pre>
|
3190
3190
|
<p>
|
@@ -3252,7 +3252,7 @@ like this:
|
|
3252
3252
|
<p class="since">Since 2.14</p>
|
3253
3253
|
</div>
|
3254
3254
|
<hr>
|
3255
|
-
<div class="refsect2"
|
3255
|
+
<div class="refsect2">
|
3256
3256
|
<a name="g-once-init-leave"></a><h3>g_once_init_leave ()</h3>
|
3257
3257
|
<pre class="programlisting"><span class="returnvalue">void</span> g_once_init_leave (<em class="parameter"><code>volatile <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *value_location</code></em>,
|
3258
3258
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> initialization_value</code></em>);</pre>
|
@@ -3282,7 +3282,7 @@ initialization variable.
|
|
3282
3282
|
<p class="since">Since 2.14</p>
|
3283
3283
|
</div>
|
3284
3284
|
<hr>
|
3285
|
-
<div class="refsect2"
|
3285
|
+
<div class="refsect2">
|
3286
3286
|
<a name="g-bit-lock"></a><h3>g_bit_lock ()</h3>
|
3287
3287
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
3288
3288
|
<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>
|
@@ -3322,7 +3322,7 @@ reliably.
|
|
3322
3322
|
<p class="since">Since 2.24</p>
|
3323
3323
|
</div>
|
3324
3324
|
<hr>
|
3325
|
-
<div class="refsect2"
|
3325
|
+
<div class="refsect2">
|
3326
3326
|
<a name="g-bit-trylock"></a><h3>g_bit_trylock ()</h3>
|
3327
3327
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
3328
3328
|
<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>
|
@@ -3367,7 +3367,7 @@ reliably.
|
|
3367
3367
|
<p class="since">Since 2.24</p>
|
3368
3368
|
</div>
|
3369
3369
|
<hr>
|
3370
|
-
<div class="refsect2"
|
3370
|
+
<div class="refsect2">
|
3371
3371
|
<a name="g-bit-unlock"></a><h3>g_bit_unlock ()</h3>
|
3372
3372
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
3373
3373
|
<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>
|
@@ -3399,13 +3399,13 @@ reliably.
|
|
3399
3399
|
<p class="since">Since 2.24</p>
|
3400
3400
|
</div>
|
3401
3401
|
</div>
|
3402
|
-
<div class="refsect1"
|
3402
|
+
<div class="refsect1">
|
3403
3403
|
<a name="glib-Threads.see-also"></a><h2>See Also</h2>
|
3404
3404
|
<a class="link" href="glib-Thread-Pools.html#GThreadPool" title="GThreadPool"><span class="type">GThreadPool</span></a>, <a class="link" href="glib-Asynchronous-Queues.html#GAsyncQueue" title="GAsyncQueue"><span class="type">GAsyncQueue</span></a>
|
3405
3405
|
</div>
|
3406
3406
|
</div>
|
3407
3407
|
<div class="footer">
|
3408
3408
|
<hr>
|
3409
|
-
Generated by GTK-Doc V1.
|
3409
|
+
Generated by GTK-Doc V1.15.1</div>
|
3410
3410
|
</body>
|
3411
3411
|
</html>
|