Revision 2a21bc88
ID | 2a21bc88b10ff8476450c1816e86efd4d834b915 |
Parent | f12eadb3 |
Child | a7f5dc98 |
locking.LockSet: don't modify input arguments
Currently LockSet.acquire() sorts in place it's input argument if it's a
list. This is not good, since callers might depend on a specific
ordering of the input data, and this is a 'hidden' modification.
We fix it by simply using a sorted copy, instead of sorting in place.
Reviewed-by: ultrotter
Files
- added
- modified
- copied
- renamed
- deleted