RE: Asynchronous File Reading



I'm getting segfaults in ioctl when I try to use open() and gdk_input_add().
Do I need to setup threads?



                                -- Stupid Genius

----------
From:         Havoc Pennington[SMTP:hp redhat com]
Sent:         Friday, February 09, 2001 12:24 PM
To:   Dugas, Alan
Cc:   gtk-app-devel-list gnome org; gtk-list gnome org
Subject:      Re: Asynchronous File Reading


"Dugas, Alan" <alan dugas analog com> writes:
Does anyone have a suggestion on how I could asynchronously read a file?
I've tried using gtk_timeout_add()/gtk_timeout_remove(), but this causes
"racing" conditions when run over a network.  Any ideas would be greatly
appreciated.


Sure, use g_io_add_watch().

Havoc

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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