| Summary: | [ssh] SftpFileService should handle multiple parallel requests | ||
|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 1.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Martin Oberhuber
Another possible approach would be to searialize all requests in the RSE UI already (see the comment on API in bug 149133). Fixed by adding a Mutex class to serialize queries where necessary. The Mutex class is re-usable in all RSE. Testing from the UI is difficult, because scheduling rules already serialize most queries. I only found that queries from the "main" thread are not being handled by the Job scheduler: opening lots of directories in quick succession, then dbl clicking on a few files to edit therefore led to using the Mutex (since the editor-open call is always on the main thread). So from the UI, I only got max. 1 thread waiting in the Mutex. I guess that more waiting threads can only be forced programmatically, so we should add such a test to Unit tests once ready. [target cleanup] 1.0 M4 was the original target milestone for this bug |