Differences From Artifact [ab485ea64f]:
- File
src/threading.h
— part of check-in
[543eb96c02]
at
2016-03-28 23:43:39
on branch trunk
— Style consistency changes
Multiline preprocessor directives now always indent the continued lines
by 4 spaces. The only exception are defines that define to code blocks:
Those are still indented by a tab in order to align with the rest of the
code. (user: js, size: 6558) [annotate] [blame] [check-ins using]
To Artifact [b27d0410b9]:
- File src/threading.h — part of check-in [3f31bd034d] at 2016-04-18 21:40:01 on branch trunk — Move of_once() to threading.m (user: js, size: 6557) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
49 50 51 52 53 54 55 | typedef HANDLE of_thread_t; typedef DWORD of_tlskey_t; typedef CRITICAL_SECTION of_mutex_t; typedef struct { HANDLE event; int count; } of_condition_t; | | | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | typedef HANDLE of_thread_t; typedef DWORD of_tlskey_t; typedef CRITICAL_SECTION of_mutex_t; typedef struct { HANDLE event; int count; } of_condition_t; typedef volatile int of_once_t; # define OF_ONCE_INIT 0 #else # error No threads available! #endif #if defined(OF_HAVE_ATOMIC_OPS) # import "atomic.h" |
︙ | ︙ |