MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17481.6439.664844.663463@domain.hid> Date: Fri, 21 Apr 2006 19:40:55 +0200 Subject: Re: [Xenomai-core] [RFC] shadow threads with prio 0 / SCHED_NORMAL In-Reply-To: <44490B3D.2060600@domain.hid> References: <4446B348.10403@domain.hid> <4448B81E.3090605@domain.hid> <17480.63623.600656.828303@domain.hid> <4448FE86.4050503@domain.hid> <17481.417.382690.108221@domain.hid> <44490B3D.2060600@domain.hid> From: Gilles Chanteperdrix List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: Jan Kiszka , xenomai-core Philippe Gerum wrote: > What I suggested was to let people create normal threads using > pthread_create (likely conforming to the SCHED_OTHER policy), then use > the redirected pthread_setschedparam syscall (i.e. always applied to the > current thread) to promote them as Xenomai shadows, but leave them in > their original scheduling class. The same goes for rt_task_shadow. This > would be explicit actions that would not leave much room for "surprises". If I understand correctly, you mean that one should not be able to create real-time threads with pthread_create. My question was about what to do of explicit scheduling parameters passed to pthread_create through thread creation attributes. -- Gilles Chanteperdrix.