Differences From Artifact [83c96b5ca9]:
- File src/exceptions/OFMutexLockFailedException.h — part of check-in [343e80e785] at 2011-03-25 15:22:21 on branch trunk — Pass the mutex for mutex exceptions. (user: js, size: 1441) [annotate] [blame] [check-ins using]
To Artifact [5800b9b1cb]:
- File
src/exceptions/OFMutexLockFailedException.h
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 1453) [annotate] [blame] [check-ins using]
︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | - - + + | #endif /** * \param class_ The class of the object which caused the exception * \param mutex The mutex which is could not be locked * \return A new mutex lock failed exception */ |
︙ |