I have a particular case where a C library calls delay functions. I am working withe the Portenta, and would like to replace those delay() functions with mbed dleep_for commands (ro be more thread friendly).
Your topic seems to be more specific to programming than to the IDE. Hence it has been moved to de Programming questions section of the forum.
If your question has been solved, you can mark it as such with the "solution" button under the most useful reply. This will let others know that a solution was foudn / provided.