Re: GNU-Pth and GLIB



otaylor redhat com wrote:
> 
> Jonas Bulow <jonas bulow servicefactory se> writes:
> 
> > Hi,
> >
> > Would it be of interest to have native GNU-Pth as a thread
> > implementation besides POSIX and Solaris?
> >
> > Has anyone done any work on this?
> 
> A patch would probably be accepted - though I think GNU-Pth is
> basically uninteresting. User space threads are just not ever going to
> be as good as native threads, and basically all interesting platforms
> now have native threads.

In an event driven server application it can be usefull to have a
non-preemtive thread implementation. I found it easier to keep data
consistent because no locking of data is needed. Of course there are a
few assumptions that have to be true, for example processing time for an
event should be minimized between calls to a yielding function.

I really appreciate the existence of GLIB because it makes C programming
so much easier.

regards,
	jonas




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