Re: Gnome/Gtk and thread safety
- From: David Helder <dhelder umich edu>
- To: Maciej Stachowiak <mjs eazel com>
- Cc: Dan Maas <dmaas dcine com>, atai atai org, gtk-devel-list gnome org
- Subject: Re: Gnome/Gtk and thread safety
- Date: Wed, 18 Oct 2000 11:52:43 -0400 (EDT)
FYI, on the async IO thread, GNet [1] supports async connection and DNS
lookups. The next version will have GIOChannel readline_async,
read_async, write_async (with timeouts, buffer allocation/management).
These functions have simplified my async IO code tremendously.
Providing async interfaces is good. But, using threads internally to
implement them is often the easiest way. Mostly it allows the synchronous
code to be reused in the implementation.
We are currently porting GNet to Win32. Getting async network IO in Win32
working with GLib has been rather difficult.
[1] http://www.eecs.umich.edu/~dhelder/misc/gnet/
--
__ _ __ David Helder - University of Michigan
___/ /__ __ __(_)__/ / dhelder umich edu
/ _ / _ `/ |/ / / _ / http://www.eecs.umich.edu/~dhelder
|_,_/|_,_/|___/_/|_,_/ Jungle Monkey: http://www.junglemonkey.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]