| Summary: | IOCache::read and IOCache::write should be called with a serial workqueue | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | beidson, cdumez, koivisto |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=231418 | ||
|
Description
Jean-Yves Avenard [:jya]
2021-10-09 00:30:20 PDT
I think we want to keep a concurrent work queue for cocoa at least. (In reply to Chris Dumez from comment #1) > I think we want to keep a concurrent work queue for cocoa at least. The API used by the cocoa code blocks and serialises the callback. So we could give to read a serial queue where to run the completion handler which itself queue to the concurrent queue. It would make the code identical to now with minimal performance impact (which remained to be measured imho) but safer for other platforms In further read; the code and use of the work queue is fine. It is expected for things to run out of order and will continue only once all tasks have run |