[M3devel] Hard real time

Jay K jay.krell at cornell.edu
Wed Dec 16 11:35:42 CET 2009


search the web for:
  "setthreadpriority"
  "opengroup sched.h"
http://www.opengroup.org/onlinepubs/007908799/xsh/sched.h.html
http://msdn.microsoft.com/en-us/library/ms686277(VS.85).aspx
etc.

 

 

Would be good to abstract out something that can be

done over pthreads and Win32 and possibly user threads.

 

 

As I understand, "hard real time" is rare.

You know, when page faults occur cannot be unpredictable

and still be hard real time, right?

 

 

"rough scheduling parameters", sure, but not "hard real time".

 

 

You could also ignore Win32 and user threads and

drop down into C and party on pthread_self().

 

 

That is, the key is coming up with portable interfaces

and interface "policing".

 


 - Jay

 
> Date: Wed, 16 Dec 2009 10:39:06 +0100
> From: wagner at elegosoft.com
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] Hard real time
> 
> Quoting Peter McKinna <peter.mckinna at gmail.com>:
> 
> > Hi,
> >
> > Is there any way to use the realtime options of pthreads, to set the
> > scheduler and the mutex protocols for priority inherit etc, all that good
> > stuff in an M3 program?
> 
> I don't know of such an interface, but it would be great if we had
> it. Is this stuff pthread standard, or more or less system dependent?
> 
> Olaf
> -- 
> Olaf Wagner -- elego Software Solutions GmbH
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091216/a45dcd7b/attachment-0002.html>


More information about the M3devel mailing list