[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OT] C libraries.
- To: Alexander Indenbaum <baum(at-nospam)actcom.co.il>
- Subject: Re: [OT] C libraries.
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Fri, 5 Oct 2001 03:07:14 +0200 (EET)
- cc: <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.GSU.4.30_heb2.09.0110041501280.23321-100000@actcom.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Thu, 4 Oct 2001, Alexander Indenbaum wrote:
> I'm looking unix oriented, portable C libraries which implement
> 1. Basic data structures ( similar to C++/STL )
> 2. OS/Network abstraction layer ( Socket, Thread etc.. )
glib, together with gthread, have support for some of these features -
gthread abstracts only part of the thread interface (at least last time i
looked at it). btw, if you're looking into unix-only, then you can use
posix threads directly - it is after all a standard, thought it had about
10 drafts, and each OS (and OS version) implements some other draft ;)
> 3. Some design patterns framework like thread pool, reactor etc..
glib has some of these. you can run its main loop, much like you run a ACE
Reactor, and then you can add timers, add file descriptors to be polled
for you (i think this has to do with something they called 'GIOChannel).
glib v2.0 (still under development) adds more features, including thread
pools, inter-thread message queues and the like. just go to www.gtk.org,
go to the 'API reference' link in the documentation box, and lok at glib's
docs (both 1.2 and 2.0 version docs are there).
ofcourse, its far from being as complete as ACE.
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il