Re: io watch callback and condition modification
- From: Szalai Ferenc <szferi angel elte hu>
- To: gtk-list gnome org
- Subject: Re: io watch callback and condition modification
- Date: 15 Apr 2002 10:04:04 +0200
Dear Owen,
> Why can't you simply remove the watch and add a new one?
Because for example the write watch will live only util I send the
response. And because this was a good adventure to undrestand glib main
loop and iochannel :)
But lastly I solved the problem to set all bit in the condition of io
channel and I just modifiy the evnet element of appropriate poll
structure and it works fine.
> Trying to handle mutation of an active source is probably going
> add a fair bit of thread safety and reentrancy complexity.
Where can I find any example for it?
Regards,
Ferenc Szalai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]