Ticket #416 (closed defect: fixed)
Race condition on `ServiceFactory.setUmask()`
| Reported by: | jmoore | Owned by: | jmoore |
|---|---|---|---|
| Priority: | critical | Milestone: | 3.0-Beta3 |
| Component: | Services | Version: | 3.0-M3 |
| Keywords: | Cc: |
Description
To set a umask for a particular call, one calls ServiceFactory.setUmask(Permissions). However, between calling SF.setUmask() and service.someMethod() another thread might reset the umask.
- Document the need for synchronization, or
- Change the method to ServiceFactory.setUmask( ServiceInterface, Permissions ) and handle the synchronization internally.
Change History
Note: See
TracTickets for help on using
tickets.
