Expand docs

svn path=/trunk/; revision=6366
This commit is contained in:
Matthias Clasen 2008-01-25 01:44:08 +00:00
parent 2f82279c81
commit 12a26c75a9
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-01-24 Matthias Clasen <mclasen@redhat.com>
* gioscheduler.h: Expand docs a bit.
2008-01-24 Alexander Larsson <alexl@redhat.com>
* gdrive.[ch]:

View File

@ -45,12 +45,18 @@ typedef struct _GIOSchedulerJob GIOSchedulerJob;
* @cancellable: optional #GCancellable object, %NULL to ignore.
* @user_data: the data to pass to callback function
*
* I/O Job function.
*
* I/O Job function.
*
* Note that depending on whether threads are available, the
* #GIOScheduler may run jobs in separate threads or in an idle
* in the mainloop.
*
* Long-running jobs should periodically check the @cancellable
* to see if they have been cancelled.
**/
typedef void (*GIOSchedulerJobFunc) (GIOSchedulerJob *job,
GCancellable *cancellable,
gpointer user_data);
GCancellable *cancellable,
gpointer user_data);
void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func,
gpointer user_data,