-
Notifications
You must be signed in to change notification settings - Fork 3k
api->API #8461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api->API #8461
Conversation
Copy edit file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address my comments.
platform/FileHandle.h
Outdated
@@ -207,7 +207,7 @@ class FileHandle : private NonCopyable<FileHandle> { | |||
/** Check for poll event flags | |||
* The input parameter can be used or ignored - the could always return all events, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query: What should we replace "the" with in this sentence?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AnotherButler : Good catch, this is saying the caller can either pass in a filter for the events they want, or filter the return value and not use the argument depending on how this virtual function is implemented. I think that the
was meant to be a they
(meaning whoever is implementing this function).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could I rewrite this sentence as "You can use or ignore the input parameter. You can return all events or check just the events listed in events."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds fine to me.
platform/FileHandle.h
Outdated
* Note! This is not intended as an attach-like asynchronous api, but rather | ||
* as a building block for constructing such functionality. | ||
* Note! This is not intended as an attach-like asynchronous API, but rather | ||
* as a building block for constructing such functionality. | ||
* | ||
* The exact timing of when the registered function | ||
* is called is not guaranteed and susceptible to change. It should be used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query: Is this saying that the registered function is not susceptible to change, or it is susceptible change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding this is saying this function alone is not sufficient for an async format but can be used to develop one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The timing of this function may change from release to release. Does that make sense?
@AnotherButler Is this waiting on you to resolve the queries, or @kegilbert to answer them? Or @cmonr / @ARMmbed/mbed-os-maintainers / @ARMmbed/mbed-os-docs to provide some sort of answer? |
@cmonr @AnotherButler Sorry about that, my page wasn't loading properly when I submitted my comments before, they should be up now. |
Why did we close this? |
Ah, think it hit the 3 day mark due to the weekend. @0xc0170 I'm going to reopen this if that's alright. |
It was closed because we were doing branch cleanup. Someone opened a PR using ARMmbed as the user. |
A reminder that this still needs work. Would be nice if this could be rolled up with the other docs PRs. |
@kegilbert ^^^ |
Address comments.
@cmonr This should be good to go. |
Description
Minor doxygen update, uppercase acronym
Pull request type