~kklimonda/ubuntu/natty/glibmm2.4/update

« back to all changes in this revision

Viewing changes to docs/reference/html/classGio_1_1Cancellable.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-07-28 13:50:53 UTC
  • mfrom: (1.2.37 upstream)
  • Revision ID: james.westby@ubuntu.com-20090728135053-qdapv1ixwn5gddn2
Tags: 2.21.3-0ubuntu1
* New upstream version:
  - Only compile the properties example if properties are enabled.
  - fix release target to use correct tagging scheme
  - Bug 587173 - Fails to install when bootstrapped with Automake 1.11
  - add _IGNORE() for a eject_with_operation() which is hand-written
  - add get_start_stop_type() and Gio::DriveStartStopType enum
  - add overloads for resolver methods without a cancellable object
  - add async versions of Resolver methods
  - Added a simple example showing how to resolve an internet address from a hostname
  - Fix MemoryInputStream::addData 
  - Fix a build error in MemoryInputStream
  - Add Glib::ObjectBase::freeze_notify()/thaw_notify.  Fixes Bug #575533
  - Repair Glib::KeyFile docs with regard to exceptions. Bug# 587766.
  - Wrapped several ISO 8601 related functions.
  - Corrected the ChangeLog to mention changes that I accidentally committed 
    in last month, but which I did want to commit some time.
* debian/rules:
  - updated shver number

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
  </table>
210
210
</dl>
211
211
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The id of the signal handler or 0 if <em>cancellable</em> has already been cancelled.</dd></dl>
212
 
<dl class="newin2p22s" compact><dt><b><a class="el" href="newin2p22s.html#_newin2p22s000004">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
 
212
<dl class="newin2p22s" compact><dt><b><a class="el" href="newin2p22s.html#_newin2p22s000007">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
213
213
 
214
214
</div>
215
215
</div><p>
253
253
<p>
254
254
This avoids a race condition where a thread cancels at the same time as the cancellable operation is finished and the signal handler is removed. See Cancellable::cancelled for details on how to use this.<p>
255
255
If <em>cancellable</em> is <code>0</code> or <em>handler_id</em> is 0 this function does nothing.<p>
256
 
<dl class="newin2p22s" compact><dt><b><a class="el" href="newin2p22s.html#_newin2p22s000005">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
 
256
<dl class="newin2p22s" compact><dt><b><a class="el" href="newin2p22s.html#_newin2p22s000008">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
257
257
<dl compact><dt><b>Parameters:</b></dt><dd>
258
258
  <table border="0" cellspacing="2" cellpadding="0">
259
259
    <tr><td valign="top"></td><td valign="top"><em>handler_id</em>&nbsp;</td><td>Handler id of the handler to be disconnected, or 0. </td></tr>