Differences From Artifact [985b7a3ea1]:
- File
src/runtime/synchronized.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 2723) [annotate] [blame] [check-ins using]
To Artifact [675119db68]:
- File src/runtime/synchronized.m — part of check-in [d07c56a8bb] at 2017-04-02 01:06:35 on branch trunk — Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() (user: js, size: 2684) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | int count; of_rmutex_t rmutex; struct lock_s *next; } *locks = NULL; static of_mutex_t mutex; | | < | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | int count; of_rmutex_t rmutex; struct lock_s *next; } *locks = NULL; static of_mutex_t mutex; OF_CONSTRUCTOR() { if (!of_mutex_new(&mutex)) OBJC_ERROR("Failed to create mutex!") } #endif int |
︙ | ︙ |