Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 11 months ago.
Bug or Feature? Semaphore constructor maximum slots or initial slots?
Hi! I have noticed, that every call of RTOS Semaphore::release() will increase the number of its slots with no limit. Is it a bug or a feature?
The documentation says: "@param number of available resources; maximum index value is (count-1)." So there sould be a maximum, isn't it?