Documentation for rescheduling requirements for S/I class APi Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
faisal
Posts: 260
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 35 times
Been thanked: 34 times

Documentation for rescheduling requirements for S/I class APi  Topic is solved

Postby faisal » Fri Apr 10, 2020 12:19 am

You had language similar to this in previous documentation:

–“S” is a function that must be called from within a critical zone and can reschedule internally
–“I” is a function that must be called from within a critical zone and does not reschedule internally


However, in the current documentation there is no explicit mention that S class functions reschedule internally, while no I class functions reschedule. Someone very experienced may be able to infer this from the documentation, but this is something worth mentioning right in the beginning when explaining kernel and API concepts.

User avatar
Giovanni
Site Admin
Posts: 13008
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 742 times
Been thanked: 620 times
Contact:

Re: Documentation for rescheduling requirements for S/I class APi

Postby Giovanni » Fri Apr 10, 2020 8:40 am

Hi,

I will check, it is not supposed to be this way. Moving to bug reports.

Giovanni

faisal
Posts: 260
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 35 times
Been thanked: 34 times

Re: Documentation for rescheduling requirements for S/I class APi

Postby faisal » Sat Apr 11, 2020 5:10 pm

Thanks for looking into it. I believe it should have been here:
http://chibiforge.org/doc/20.3/rt/concepts.html

User avatar
Giovanni
Site Admin
Posts: 13008
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 742 times
Been thanked: 620 times
Contact:

Re: Documentation for rescheduling requirements for S/I class APi

Postby Giovanni » Wed Apr 29, 2020 9:34 am

Hi,

I added some notes, the confusion was originated because there were two copies of concepts.dox. Moved in a common location.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 7 guests