ObjFW  All files named "src/threading.m"

History for src/threading.m

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-01-03
19:13
Update copyright file: [ea45eac8db] check-in: [0509d7a844] user: js, branch: trunk, size: 2629 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [d01427eef6] check-in: [7e5c81e186] user: js, branch: trunk, size: 2623 [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: [47e6377b9c] check-in: [4af49a13c3] user: js, branch: trunk, size: 2600 [annotate] [blame] [check-ins using] [diff]

2017-04-13
13:19
Clean up memory barriers file: [df2361523e] check-in: [48ffea9a9a] user: js, branch: trunk, size: 2594 [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: [493fa84215] check-in: [44f45c2e35] user: js, branch: trunk, size: 2599 [annotate] [blame] [check-ins using] [diff]

2016-08-08
02:29
Fix one forgotten rename file: [6aff469b2f] check-in: [cce8073769] user: js, branch: trunk, size: 2593 [annotate] [blame] [check-ins using] [diff]
2016-07-30
23:29
atomic.h: Use the OSAtomic variant without barrier

This matches what the assembly versions does. However, the __sync_*
versions still use the barrier, but unfortunately, no version without it
is provided. The only way around this would be to use the new __atomic_*
that has been added in GCC 4.7. file: [7d26f1a4ec] check-in: [0c3e3da576] user: js, branch: trunk, size: 2588 [annotate] [blame] [check-ins using] [diff]

2016-04-18
21:48
Add of_thread_yield() file: [656c95cd33] check-in: [fa79bc173e] user: js, branch: trunk, size: 2563 [annotate] [blame] [check-ins using] [diff]
21:40
Move of_once() to threading.m file: [acfd94987f] check-in: [3f31bd034d] user: js, branch: trunk, size: 2655 [annotate] [blame] [check-ins using] [diff]
14:08
Further clean up of the threading.m split file: [cdd5b61733] check-in: [9babc44b91] user: js, branch: trunk, size: 2334 [annotate] [blame] [check-ins using] [diff]
2016-03-28
11:26
Move Haiku-specific include to the right file

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

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [cf0b2b29a1] check-in: [1ba08eebc5] user: js, branch: trunk, size: 3185 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [200dbcfe20] check-in: [cfd374b906] user: js, branch: trunk, size: 3162 [annotate] [blame] [check-ins using] [diff]
2014-12-07
18:19
Fix compilation on Win32 file: [29688ac7bf] check-in: [258b45b81a] user: js, branch: trunk, size: 3156 [annotate] [blame] [check-ins using] [diff]
2014-10-04
19:24
threading: WinAPI's CriticalSection is recursive

No need to manually implement recursiveness for WinAPI. file: [139fd47bbf] check-in: [be99da0c09] user: js, branch: trunk, size: 3123 [annotate] [blame] [check-ins using] [diff]

2014-08-11
18:44
threading_pthread.m: Set thread name file: [ac9dc3c880] check-in: [39f5e20201] user: js, branch: trunk, size: 2998 [annotate] [blame] [check-ins using] [diff]
2014-07-19
16:27
OFThread: Configurable priority and stack size file: [21c1e4f75c] check-in: [c4f724070a] user: js, branch: trunk, size: 3142 [annotate] [blame] [check-ins using] [diff]
16:16
Add of_thread_set_name() file: [0911130ba6] check-in: [2c78c6570b] user: js, branch: trunk, size: 3121 [annotate] [blame] [check-ins using] [diff]
10:47
Split threading.m into per-platform files file: [75e009925a] check-in: [8abe07a0a3] user: js, branch: trunk, size: 2928 [annotate] [blame] [check-ins using] [diff]
09:55
Don't use C11's noreturn

It causes just too much trouble: It breaks with some old versions of
Clang, where noreturn does not work correctly, and OS X headers break if
noreturn is defined, requiring an ugly and fragile workaround. It's just
not worth the trouble it causes, as the same functionality is available
through __attribute__((__noreturn__)). file: [5edf77ca14] check-in: [716b1fc2b3] user: js, branch: trunk, size: 7956 [annotate] [blame] [check-ins using] [diff]

2014-07-18
10:47
Added: Split threading.h into threading.m and threading.h file: [fb1fdd6d5c] check-in: [1da2e596af] user: js, branch: trunk, size: 7952 [annotate] [blame] [check-ins using]