-
Notifications
You must be signed in to change notification settings - Fork 462
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
AsyncProgressQueueWorker::Signal() does not trigger the TSFN #1095
Comments
Linking to #853 as it introduced the problem of discarding |
Hi @legendecas , can you elaborate some more on the problem introduced in 853? Maybe we can discuss in today's call. EDIT: Ah, I see it now: Lines 6010 to 6013 in e439222
Lines 5999 to 6002 in e439222
Lines 5736 to 5740 in e439222
Lines 5727 to 5734 in e439222
Lines 5976 to 5981 in e439222
I have been able to resolve via: @@ -5986,7 +5990,8 @@ inline void AsyncProgressQueueWorker<T>::SendProgress_(const T* data, size_t cou
template<class T>
inline void AsyncProgressQueueWorker<T>::Signal() {
- this->NonBlockingCall(nullptr);
+ auto pair = new std::pair<T*, size_t>(nullptr, 0);
+ this->NonBlockingCall(pair);
} If this is the correct implementation, I can create a PR. Let's discuss in today's call. |
😅 The above fix might be a bit premature. Let's discuss in the call. |
@KevinEady the problem introduced in #853 is that it unconditionally suppressed the calls when the data is nullptr, for timing details you can checkout the graph here #821 (comment). So I believe we should try to find a way to distinguish
|
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Current state: I have an implementation that solves this issue, but it suffers from the "not all of the async |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Fixed by #1216 |
As reported in #1086 (comment)
The text was updated successfully, but these errors were encountered: