From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4523CD42.7040702@domain.hid> Date: Wed, 04 Oct 2006 17:03:30 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Xenomai-help] root_thread_exit in pSOS skin References: <4523BD6F.2050708@domain.hid> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3941B5261B509E60C873FA3B" Sender: jan.kiszka@domain.hid List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: d p Cc: xenomai@xenomai.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3941B5261B509E60C873FA3B Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable d p wrote: > On 04/10/06, Jan Kiszka wrote: >> >> root_thread_exit maps to __xeno_user_exit [1], and that should get >> called by the UVM main function [2]. >=20 >=20 > OK, but I put a xnprintf in root_thread_exit and I never saw this > print. I > stop the emulation with CTRL+C. Yeah, that correlates very well with the endless loop a few line above in [2]... In fact, I don't see how you should be able to install cleanup code this way under the UVM. Maybe replacing the for loop with something like this helps while (uvm_thread_idle(&uvm_irqlock) >=3D 0) /* empty loop */; but I'm leaving terra firma right now (never worked with the UVM). Jan --------------enig3941B5261B509E60C873FA3B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFI81CniDOoMHTA+kRAnsEAJ99jgyD8l9S8VT5yT1iVeY6U8jXFACfc2Ej 5/RtFwybIlpWhMtMjX0N1AE= =amm6 -----END PGP SIGNATURE----- --------------enig3941B5261B509E60C873FA3B--