Re: Replacing linuxthreads with NGPT in Gentoo Linux
Peter Wächtler <[email protected]>
| Newsgroups | gmane.linux.ngpt.devel |
|---|---|
| Organization | B16 |
| Message-ID | <[email protected]> |
Peter Waechtler schrieb: > > Am Sonntag den, 29. September 2002, um 20:59, schrieb Martin Schlemmer: > > > I and some others have tried to replace linuxthreads with NGPT > > fairly early, and then only compiling against NGPT. > > > > I will have the NGPT setup running on my box for a week or two > > depending on response, but if none is accuired, I will be forced > > to do a clean install as currently many things that is a must > > on a desktop box do not work (XMMS, MPlayer, gliv, etc) :( > > I think it would be good for ngpt to get xmms (mp3 player) going. > > xmms can make use of _lots_ of plugins that are dlopen()ed on startup. > I got xmms running on SMP when removing most of plugins - because on SMP > the initialization runs amok? (see below) > Everything works until I define MAXNATIVETHREADS=1 on SMP - then > it get stuck like on UP (there it makes _little_ progress). > Seems that there's a problem with ngpt not being preemptive. > After some digging: is ngpt able to be used in X11 apps? What is happening within the X event loop? The process just blocks waiting for some X events... Do I have to specify for using at least two native threads? How to do that?