Re: Replacing linuxthreads with NGPT in Gentoo Linux
Martin Schlemmer <[email protected]>
| Newsgroups | gmane.linux.ngpt.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2002-10-01 at 22:22, Peter Wächtler wrote: > 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? Hi Thanks for the response. X and co seemed pretty ok. Evolution for one works well in most cases, but some times its as if it "hangs" when doing something in the background. Not really something I am used to, as this is a P4 box, and even under two compiles it still is usually fairly responsive. Multi tasking/threading did though seem to get worse the longer the uptime. The normal hour for X compile for instance went to a three to four hour crawl ... In general my experience is more in scripting, and bug finding, thus my gdb and C skills are a bit rustic. There are others though that are more skilled in C that will help out if there is enouth interest. Also, I am more than willing to try any suggestions. Thanks, -- Martin Schlemmer Gentoo Linux Developer, Desktop Team Developer Cape Town, South Africa
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9minvqburzKaJYLYRAhpQAJ9fp83QWLJZ7FUsSLSA7IPE8J+s2QCeLyHG W8Yup+adcOIoLbhxVkcs3ts= =buEU -----END PGP SIGNATURE-----