You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
Provides a utility that polls a function for a duration of time and if that time is exceeded, then the function returns and error, otherwise it return success. In this case, an atomic variable is used to detect if the time has been exceeded. The atomic variable is set to 0. embed::timer would schedule itself with a function that flips an atomic flag to a value, lets say 1. If the poll function does not finish before the atomic flag is set to 1, then return with an error. Otherwise return success.
The text was updated successfully, but these errors were encountered:
Provides a utility that polls a function for a duration of time and if that time is exceeded, then the function returns and error, otherwise it return success. In this case, an atomic variable is used to detect if the time has been exceeded. The atomic variable is set to 0. embed::timer would schedule itself with a function that flips an atomic flag to a value, lets say 1. If the poll function does not finish before the atomic flag is set to 1, then return with an error. Otherwise return success.
The text was updated successfully, but these errors were encountered: