Differences From Artifact [dcf43cf9c5]:
- File src/runtime/synchronized.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 2777) [annotate] [blame] [check-ins using] [more...]
To Artifact [106c451b62]:
- File src/runtime/synchronized.m — part of check-in [8f271bed22] at 2020-12-20 03:06:55 on branch trunk — Let OF_ENSURE use OBJC_ERROR in runtime (user: js, size: 2778) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
34 35 36 37 38 39 40 | } *locks = NULL; static of_mutex_t mutex; OF_CONSTRUCTOR() { if (!of_mutex_new(&mutex)) | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | } *locks = NULL; static of_mutex_t mutex; OF_CONSTRUCTOR() { if (!of_mutex_new(&mutex)) OBJC_ERROR("Failed to create mutex!"); } #endif int objc_sync_enter(id object) { if (object == nil) |
︙ | ︙ |