ObjFW  History of src/threading_pthread.m of 625377fca5bea961

History of file src/threading_pthread.m at check-in 625377fca5bea961

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
OFThread: Don't require of_thread_exit()

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

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

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

2018-06-17
18:23
configure: Check for pthread_attr_getschedpolicy() file: [5bca66cb41] check-in: [839745fa85] user: js, branch: trunk, size: 6267 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [181110ec16] check-in: [7e5c81e186] user: js, branch: trunk, size: 6173 [annotate] [blame] [check-ins using] [diff]
2017-10-07
10:46
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. file: [7c690c290a] check-in: [1494d3f6f1] user: js, branch: trunk, size: 6150 [annotate] [blame] [check-ins using] [diff]

2017-05-07
20:10
Small code style change

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

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

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

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

11:26
Move Haiku-specific include to the right file

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

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

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

00:41
Update copyright

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

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [f28edc28f4] check-in: [1ba08eebc5] user: js, branch: trunk, size: 5122 [annotate] [blame] [check-ins using] [diff]
2015-04-11
14:37
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. file: [5e32541977] check-in: [60ebb21fc7] user: js, branch: trunk, size: 5061 [annotate] [blame] [check-ins using] [diff]

2015-03-30
21:33
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. file: [7f18dc085f] check-in: [ffb39d1df6] user: js, branch: trunk, size: 5023 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [2ccde6dcec] check-in: [cfd374b906] user: js, branch: trunk, size: 5018 [annotate] [blame] [check-ins using] [diff]
2014-08-11
18:44
threading_pthread.m: Set thread name file: [3c16bc0403] check-in: [39f5e20201] user: js, branch: trunk, size: 5012 [annotate] [blame] [check-ins using] [diff]
2014-08-01
12:27
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. file: [967081c426] check-in: [52e02c06ca] user: js, branch: trunk, size: 4486 [annotate] [blame] [check-ins using] [diff]

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