Re: gdk_io_* clarification
- From: Owen Taylor <otaylor redhat com>
- To: James Macnicol <jamesm evans ee adfa oz au>
- Cc: gtk-list redhat com
- Subject: Re: gdk_io_* clarification
- Date: 04 Apr 1999 22:39:04 -0400
James Macnicol <jamesm@evans.ee.adfa.oz.au> writes:
> Okay folks, here's some code that will trigger the behaviour I see. This
> has only been tested on Solaris 7, YMMV on other platforms.
>
> Explanation follows code.
[...]
> #ifndef WORKS
> gdk_input_remove(tag);
> gdk_input_add_full(fd, GDK_INPUT_READ, ioready, NULL,
> dnotify);
> #endif
> gdk_input_remove(tag);
> gdk_input_add_full(fd, GDK_INPUT_READ|GDK_INPUT_WRITE, ioready, NULL,
> dnotify);
Suprisingly enough, this actually works fine for me.
But I wouldn't expect it to with two calls to
gdk_input_remove() on the same tag. (that would cause
messed up refcounts for sure...)
Is that from the original, or is that a red herring?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]