Overview
Comment: | Move Haiku-specific include to the right file
This was forgotten when splitting threading.m into multiple files. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f58ea581f03abc5327ca7aae8b4fdf2e |
User & Date: | js on 2016-03-28 11:26:47 |
Other Links: | manifest | tags |
Context
2016-03-28
| ||
16:50 | Change the definition of thread priorities check-in: b4023e6bc0 user: js tags: trunk | |
11:26 | Move Haiku-specific include to the right file check-in: f58ea581f0 user: js tags: trunk | |
2016-03-27
| ||
23:17 | 3DS: Add OoT3D as title large enough for injection check-in: 6344bdd11e user: js tags: trunk | |
Changes
Modified src/threading.m from [f3034ff304] to [74fca85fa4].
︙ | ︙ | |||
22 23 24 25 26 27 28 | # include "threading_pthread.m" #elif defined(OF_WINDOWS) # include "threading_winapi.m" #else # error No threads available! #endif | < < < < | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # include "threading_pthread.m" #elif defined(OF_WINDOWS) # include "threading_winapi.m" #else # error No threads available! #endif bool of_rmutex_new(of_rmutex_t *rmutex) { #if defined(OF_HAVE_RECURSIVE_PTHREAD_MUTEXES) pthread_mutexattr_t attr; if (pthread_mutexattr_init(&attr) != 0) |
︙ | ︙ |
Modified src/threading_pthread.m from [3649baa422] to [706256fda3].
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #include "config.h" #ifdef HAVE_PTHREAD_NP_H # include <pthread_np.h> #endif #import "macros.h" struct thread_ctx { void (*function)(id object); id object; }; static void* | > > > > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #include "config.h" #ifdef HAVE_PTHREAD_NP_H # include <pthread_np.h> #endif #import "macros.h" #ifdef OF_HAIKU # include <kernel/OS.h> #endif struct thread_ctx { void (*function)(id object); id object; }; static void* |
︙ | ︙ |