ObjFW  History of src/threading_pthread.m of 9713afbd6da38966

History of the file that is called src/threading_pthread.m at check-in 9713afbd6da38966

2019-08-01
20:14
Deleted: Split threading.[hm] into multiple files

This allows the runtime to only link against the parts it needs, without
pulling in unnecessary parts like thread spawning, TLS and conditions. (check-in: [5358e9ea6a] user: js, branch: trunk, size: 0)

2019-07-28
12:32
[45235a8a16] part of check-in [b5430ac44f] OFThread: Don't require of_thread_exit()

Some systems do not provide the functionality. (check-in: [b5430ac44f] user: js, branch: trunk, size: 6262) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[f1eefca76d] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 6349) [annotate] [blame] [check-ins using] [diff]
2018-10-20
17:48
[b133b4ffce] part of check-in [cdd30dfb53] threading_pthread.m: More fault tolerant init

This fixes NetBSD 8. (check-in: [cdd30dfb53] user: js, branch: trunk, size: 6343) [annotate] [blame] [check-ins using] [diff]

2018-06-17
18:23
[5bca66cb41] part of check-in [839745fa85] configure: Check for pthread_attr_getschedpolicy() (check-in: [839745fa85] user: js, branch: trunk, size: 6267) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[181110ec16] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 6173) [annotate] [blame] [check-ins using] [diff]
2017-10-07
10:46
[7c690c290a] part of check-in [1494d3f6f1] OFThread: Fix setting the name on the wrong thread

The name of the thread may only be set from the thread itself. So the
thread should read the property on start and set its name. (check-in: [1494d3f6f1] user: js, branch: trunk, size: 6150) [annotate] [blame] [check-ins using] [diff]

2017-05-07
20:10
[9d56adf88b] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 6182) [annotate] [blame] [check-ins using] [diff]

2017-04-02
01:06
[430c90cbfe] part of check-in [d07c56a8bb] Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() (check-in: [d07c56a8bb] user: js, branch: trunk, size: 6181) [annotate] [blame] [check-ins using] [diff]
2017-02-26
15:38
[7669b743f6] part of check-in [0abbcb442c] Rename OF_MAC_OS_X define to OF_MACOS (check-in: [0abbcb442c] user: js, branch: trunk, size: 6216) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[39237b073e] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 6219) [annotate] [blame] [check-ins using] [diff]

2016-05-07
21:52
[51e4e050d9] part of check-in [ea000d07a9] Fix a warning with Apple GCC 4.0 (check-in: [ea000d07a9] user: js, branch: trunk, size: 6213) [annotate] [blame] [check-ins using] [diff]
2016-04-24
15:31
[717df19cb4] part of check-in [4b31620e27] Move of_tlskey_{new,free} to API-specific files (check-in: [4b31620e27] user: js, branch: trunk, size: 6212) [annotate] [blame] [check-ins using] [diff]
2016-04-18
14:08
[e25a18277e] part of check-in [9babc44b91] Further clean up of the threading.m split (check-in: [9babc44b91] user: js, branch: trunk, size: 6042) [annotate] [blame] [check-ins using] [diff]
2016-03-28
16:50
[22a0bb4722] part of check-in [b4023e6bc0] Change the definition of thread priorities

The old definition was quite unpredictable and too platform-specific.
The new one defines -1.0 as lowest priority that still schedules, 0.0 as
the normal priority (meaning the same as the main thread) and +1.0 as
the highest priority that still allows getting preempted. (check-in: [b4023e6bc0] user: js, branch: trunk, size: 5322) [annotate] [blame] [check-ins using] [diff]

11:26
[706256fda3] part of check-in [f58ea581f0] Move Haiku-specific include to the right file

This was forgotten when splitting threading.m into multiple files. (check-in: [f58ea581f0] user: js, branch: trunk, size: 5222) [annotate] [blame] [check-ins using] [diff]

2016-01-05
17:15
[3649baa422] part of check-in [a65818a67f] configure: Check for pthread_attr_setinheritsched (check-in: [a65818a67f] user: js, branch: trunk, size: 5174) [annotate] [blame] [check-ins using] [diff]
2016-01-03
00:43
[f8ab966910] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 5065) [annotate] [blame] [check-ins using] [diff]

00:41
[bf9bfb4388] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 5126) [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
[f28edc28f4] part of check-in [1ba08eebc5] Add platform.h & make platform defines consistent (check-in: [1ba08eebc5] user: js, branch: trunk, size: 5122) [annotate] [blame] [check-ins using] [diff]
2015-04-11
14:37
[5e32541977] part of check-in [60ebb21fc7] threading_pthread.m: Only set stack size if > 0

When initializing a pthread_attr_t on Solaris and reading the stack size
from it with pthread_attr_getstacksize(), the stack size returned it 0.
However, when calling pthread_attr_setstacksize() with a stack size of
0, the call fails. (check-in: [60ebb21fc7] user: js, branch: trunk, size: 5061) [annotate] [blame] [check-ins using] [diff]

2015-03-30
21:33
[7f18dc085f] part of check-in [ffb39d1df6] Add OF_NO_RETURN_FUNC

OF_NO_RETURN_FUNC is defined when __attribute__((__noreturn__)) is
supported for functions, whereas OF_NO_RETURN is only defined when it is
supported for both functions and methods. (check-in: [ffb39d1df6] user: js, branch: trunk, size: 5023) [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
[2ccde6dcec] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 5018) [annotate] [blame] [check-ins using] [diff]
2014-08-11
18:44
[3c16bc0403] part of check-in [39f5e20201] threading_pthread.m: Set thread name (check-in: [39f5e20201] user: js, branch: trunk, size: 5012) [annotate] [blame] [check-ins using] [diff]
2014-08-01
12:27
[967081c426] part of check-in [52e02c06ca] Change return type for thread main

This changes the return type to void, as the return type of a thread's
main depends on the threading implementation used. For pthreads, it adds
a wrapper function which returns NULL to avoid problems with bogus
return values. For WinAPI threads, the function is just casted, as bogus
return values don't seem to matter there. (check-in: [52e02c06ca] user: js, branch: trunk, size: 4486) [annotate] [blame] [check-ins using] [diff]

2014-07-23
23:09
[7ca1a9fd57] part of check-in [90f2f05c2c] threading: Prevent possible division by zero (check-in: [90f2f05c2c] user: js, branch: trunk, size: 4115) [annotate] [blame] [check-ins using] [diff]
19:34
[cdf397d0df] part of check-in [9e60532254] threading: Get rid of warnings with old compilers (check-in: [9e60532254] user: js, branch: trunk, size: 4015) [annotate] [blame] [check-ins using] [diff]
2014-07-19
16:27
[9c2b4d74c8] part of check-in [c4f724070a] OFThread: Configurable priority and stack size (check-in: [c4f724070a] user: js, branch: trunk, size: 3992) [annotate] [blame] [check-ins using] [diff]
10:47
Added: [9bd4f81445] part of check-in [8abe07a0a3] Split threading.m into per-platform files (check-in: [8abe07a0a3] user: js, branch: trunk, size: 2490) [annotate] [blame] [check-ins using]