126 /** Try to lock the mutex until specified time
127 @param millisec absolute timeout time, referenced to Kernel::get_ms_count()
128 @return true if the mutex was acquired, false otherwise.
129 @note the underlying RTOS may have a limit to the maximum wait time
130 due to internal 32-bit computations, but this is guaranteed to work if the
131 wait is <= 0x7fffffff milliseconds (~24 days). If the limit is exceeded,
132 the lock attempt will time out earlier than specified.
133
134 @note You cannot call this function from ISR context.
135 @deprecated Pass a chrono time_point, not an integer millisecond count. For example use
136 `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.
137 */
138MBED_DEPRECATED_SINCE("mbed-os-6.0.0", "Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.")
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.