Skip to contentSkip to conversation

printf() allowed in xenomai?

Xenomai-help Steven Scholz 2 participants 4 messages Jan 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,

I wonder if there exists a document that describes to Dos and Donts when programming real time applications with Xenomai.

For excample is it allowed to used glibc funkctions like printf()?

Thanks,

Steven

#1 lore raw
Quoted 5 lines · Steven Scholz

Hi all,

I wonder if there exists a document that describes to Dos and Donts when programming real time applications with Xenomai.

This is a good starting point, discussing about basic issues to keep in mind when using something based on a co-kernel technology:
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Native-API-Tour.pdf
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Life-with-Adeos.pdf

Quoted 1 line

For excample is it allowed to used glibc funkctions like printf()?

Yes, but time-wise, this costs you predictability. You may want to grep the mailing list archive about "secondary mode switch" and the like.

Quoted 9 lines

Thanks,

Steven

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
#2 lore raw

Philippe,

Quoted 7 lines
Quoted 2 lines

I wonder if there exists a document that describes to Dos and Donts when programming real time applications with Xenomai.

This is a good starting point, discussing about basic issues to keep in mind when using something based on a co-kernel technology:
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Native-API-Tour.pdf
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Life-with-Adeos.pdf

Thanks!

Quoted 4 lines
Quoted 1 line

For excample is it allowed to used glibc funkctions like printf()?

Yes, but time-wise, this costs you predictability. You may want to grep the mailing list archive about "secondary mode switch" and the like.

Would you please state in one line what "secondary mode switch" means? Is it the switch from xenomai to linux?

Steven

#3 lore raw
Quoted 14 lines · Steven Scholz

Philippe,

Quoted 7 lines
Quoted 2 lines

I wonder if there exists a document that describes to Dos and Donts when programming real time applications with Xenomai.

This is a good starting point, discussing about basic issues to keep in mind when using something based on a co-kernel technology:
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Native-API-Tour.pdf
http://www.xenomai.org/documentation/branches/v2.0.x/pdf/Life-with-Adeos.pdf

Thanks!

Quoted 2 lines
Quoted 1 line

For excample is it allowed to used glibc funkctions like printf()?

Quoted 8 lines
Quoted 2 lines

Yes, but time-wise, this costs you predictability. You may want to grep the mailing list archive about "secondary mode switch" and the like.

Would you please state in one line what "secondary mode switch" means? Is it the switch from xenomai to linux?

From the xenomai scheduler to the Linux scheduler, yes. You should find

some insights about this in the tech. articles I just mentioned.

Quoted 1 line

Steven

Signature · 1 line
Philippe.