]> git.saurik.com Git - apple/libdispatch.git/blobdiff - man/dispatch_after.3
libdispatch-703.30.5.tar.gz
[apple/libdispatch.git] / man / dispatch_after.3
index 404aefb4aa60622bce28ce6ae2c5a785e9615937..4c55214daa5ae01b42d76e5eef1dbe5ba72d86ec 100644 (file)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2008-2009 Apple Inc. All rights reserved.
+.\" Copyright (c) 2008-2010 Apple Inc. All rights reserved.
 .Dd May 1, 2009
 .Dt dispatch_after 3
 .Os Darwin
@@ -13,7 +13,7 @@
 .Fc
 .Ft void
 .Fo dispatch_after_f
-.Fa "dispatch_time_t when" "dispatch_queue_t queue" "void *context" "void (^function)(void *)"
+.Fa "dispatch_time_t when" "dispatch_queue_t queue" "void *context" "void (*function)(void *)"
 .Fc
 .Sh DESCRIPTION
 The
@@ -35,6 +35,9 @@ or
 For a more detailed description about submitting blocks to queues, see
 .Xr dispatch_async 3 .
 .Sh CAVEATS
+.Fn dispatch_after
+retains the passed queue.
+.Pp
 Specifying
 .Vt DISPATCH_TIME_NOW
 as the
@@ -42,16 +45,19 @@ as the
 parameter
 is supported, but is not as efficient as calling
 .Fn dispatch_async .
+.Pp
 The result of passing
 .Vt DISPATCH_TIME_FOREVER
 as the
 .Fa when
 parameter is undefined.
+.Pp
 .Sh FUNDAMENTALS
 The
 .Fn dispatch_after
 function is a wrapper around
 .Fn dispatch_after_f .
 .Sh SEE ALSO
+.Xr dispatch 3 ,
 .Xr dispatch_async 3 ,
 .Xr dispatch_time 3