Re: GIOScheduler example need



Hey,

On Fri, 25 Jun 2010 14:32:31 +0600
Alexander Kuleshov <kuleshovmail gmail com> wrote:

> >The best documentations for programming is the code it's self right?
> yes, thank you fore example

Dunno what example code you have now, but here's a brief explanation on
how you can write your own asynchronous functions based on
GIOScheduler:

  http://gezeiten.org/post/2009/04/Writing-Your-Own-GIO-Jobs

The example I used is a simple pair of sync/async functions to count
the number of files and the total size of a directory recursively.
(It's unsafe though, as it doesn't prevent infinite recursion.)

Cheers,
Jannis

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]