OptInt PmWiki : MROI Fast Tip Tilt / Tech Meet 14

Technical Meeting #14: FLC software design

This meeting took place at 11:30 on Tuesday 10 May 2011. Attendees: JSY, EBS, MF, DFB.

Discussion slides

Attach:SoftwareDesign.pdf

Conclusions

Post-meeting Conclusions

From discussions between JSY, EBS, DFB.

Link MROI Generic System Interface generated code with Xenomai user-space library, substituting Xenomai POSIX API wrappers for standard pthreads calls as described at http://www.xenomai.org/index.php/Porting_POSIX_applications_to_Xenomai . Note that this transforms the primary thread into a (non-RT) Xenomai thread. Threads created using the Xenomai pthread_create will be switched transparently between primary and secondary mode, and can use the Xenomai API. The Xenomai POSIX API includes a useful queue implementation which can be used for thread-safe communications between RT and non-RT tasks: http://www.xenomai.org/documentation/trunk/html/api/group__posix__mq.html There are also buffer services in the "native" API, but its not clear whether the two APIs can be mixed. In any case use of the native API is discouraged for portability reasons. Need to check whether substitutions of Linux system calls (e.g. socket()) are harmful, and if so best way to prevent substitution. They probably just do context switching as necessary and hence it should be OK to use the Xenomai wrappers.

(Printable View of http://www.mrao.cam.ac.uk/projects/OAS/pmwiki/pmwiki.php/MROIFastTipTilt/TechMeet14)