peperronii
2e5af1a40c
Removed Haiku
2026-07-17 23:17:23 +07:00
WP. Yingamphol
8a8230b64e
Merge branch 'odin-lang:master' into master
2026-07-17 23:06:28 +07:00
Pung
7005cf7cf0
update OS limit to its proper value
2026-05-01 13:22:03 +07:00
Ignacy Koper
f327bcab92
removed Haiku from core:sync, and core:thread
...
Signed-off-by: Ignacy Koper <ignacy423@gmail.com >
2026-04-28 19:27:25 +02:00
WP. Yingamphol
ece54a4d05
moved Haiku OS check inside _set_name
2026-04-07 12:56:42 +07:00
Wachiraphol Yingamphol
0b5d3b0dd8
nil as default thread arg
2026-04-06 10:01:34 +07:00
PePerRoNii
d83d47b19d
more sensible allocation and fix comment
2026-03-25 13:58:24 +07:00
PePerRoNii
c9064cf532
more concise null termination
2026-03-23 22:51:16 +07:00
WP. Yingamphol
019343bf00
Merge branch 'master' into master
2026-03-21 21:18:12 +07:00
gingerBill
19b545e7cb
Merge branch 'master' into bill/feature-using-stmt
2026-01-30 10:49:55 +00:00
gingerBill
d46c547264
Merge pull request #6124 from laytan/nbio
...
Add `core:nbio`
2026-01-16 13:25:03 +00:00
gingerBill
7f509c01f1
Merge pull request #6125 from Wassimulator/patch-2
...
Add init and fini callback procs to thread pools
2026-01-14 14:17:01 +00:00
Wassim Alhajomar
28c9e319d3
use ^Thread instead of index in init and fini
2026-01-14 15:00:50 +01:00
Nathan Wong
bd9d682d15
Ensure creating a low priority thread does not assert with SCHED_OTHER policy
2026-01-13 16:38:22 -08:00
Wassim Alhajomar
ef84b24b68
cleanup
2026-01-12 12:39:57 +01:00
Laytan Laats
fa97aa4dc9
thread: fix aligned loading of unaligned addresses
2026-01-11 20:21:25 +01:00
gingerBill
8b745c3909
Remove using use in thread_other.odin
2025-12-21 13:14:38 +00:00
WP. Yingamphol
9529ebf8b7
forgot to add raw_data
2025-12-07 22:52:03 +07:00
WP. Yingamphol
f736047df4
Make compatible with the new win32.SetThreadDescription
...
The second argument is changed to a cstring16.
2025-12-07 22:09:49 +07:00
WP. Yingamphol
6e8bd908da
Merge branch 'odin-lang:master' into master
2025-12-07 21:45:47 +07:00
WP. Yingamphol
f873231f2e
Update thread name/description truncation limits
2025-11-20 19:18:55 +07:00
Laytan Laats
71afb8e7a5
removes the darwin specific paths from thread_unix
...
I know I left a note there about deadlocks but it doesn't seem to happen
anymore, especially now that the test runner creates cancellation points.
Also, what was this `can_set_thread_cancel_state` for? It does not make
sense to me that it enables cancellation, and then does it again later.
With the comment it seems like it should be `.DISABLE` to first disable
and then wait for the thread to start. But even that seems weird, why
do you need to do that? I removed it.
2025-11-07 21:40:25 +01:00
gingerBill
842cfee0f3
Change Odin's LICENSE to zlib from BSD 3-clause
...
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Jeroen van Rijn
7a9ea3ee6d
Further overhaul of package line comments.
2025-10-09 23:05:29 +02:00
gingerBill
9ddb93bd01
Add doc line to core:thread
2025-10-09 12:29:18 +01:00
WP. Yingamphol
ed75ab49bb
Change windows Thread_Description_Length to 128
2025-09-14 13:57:49 +07:00
WP. Yingamphol
704a917355
re-added Haiku os _set_name guard
2025-08-28 09:53:53 +07:00
PePerRoNii
e4cc58d992
thread.name = name in unix
2025-08-28 09:50:25 +07:00
PePerRoNii
5ab3c1794e
fixed windows api and free GetThreadName's allocation
2025-08-20 21:51:56 +07:00
PePerRoNii
8884ad01f5
added name argument description
2025-08-20 21:00:25 +07:00
WP. Yingamphol
155c03a2ee
Merge branch 'odin-lang:master' into master
2025-08-20 20:18:22 +07:00
WP. Yingamphol
c164332661
Apply suggestions from code review
...
Improve code description
Co-authored-by: Sunagatov Denis <yyakut.ac@gmail.com >
2025-08-20 07:10:19 +07:00
Laytan Laats
25389ed086
thread: set stack size to rlimit
2025-08-02 15:22:23 +02:00
PePerRoNii
2f770ff241
check for Haiku before calling _set_name
2025-07-22 11:18:45 +07:00
PePerRoNii
3c9d05a8c6
fix tid/handle bug on macos/win
2025-07-22 11:00:49 +07:00
PePerRoNii
a357113651
thread.create et al with name parameter
2025-07-22 10:52:29 +07:00
PePerRoNii
228e2752a3
use win32.wstring_to_utf8, default to temp_allocator, guarantees proper null termination
2025-07-15 12:29:26 +07:00
PePerRoNii
8f81b8761a
changed [^]u8 to cstring for netbsd, added truncate_to_byte(name,0) on name return
2025-07-15 10:55:54 +07:00
WP. Yingamphol
805c3228b8
Update core/thread/thread_unix.odin
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2025-07-15 09:32:02 +07:00
WP. Yingamphol
5ffba9b222
use copy proc group instead of copy_from_string
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2025-07-15 09:30:49 +07:00
WP. Yingamphol
05b769734b
more spacing
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2025-07-15 09:29:39 +07:00
WP. Yingamphol
08c298808b
spacing
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2025-07-15 09:29:10 +07:00
WP. Yingamphol
02111e7515
no #optional_allocator_error
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2025-07-15 09:28:38 +07:00
PePerRoNii
d875d2d445
added set_name in thread_other
2025-07-14 21:43:28 +07:00
PePerRoNii
c07830035e
fix proc and variable typos
2025-07-14 21:23:28 +07:00
PePerRoNii
8bc1ffd0df
remove 'do'
2025-07-14 20:58:22 +07:00
PePerRoNii
7265782ddc
remove unnecessary spaces, fix t -> thread, added more description
2025-07-14 20:39:52 +07:00
PePerRoNii
6f3cc31682
substitute sync.current_thread_id with posix.pthread_self for unix
2025-07-14 18:17:19 +07:00
PePerRoNii
b87b5431b1
substitute 'do'
2025-07-14 18:10:35 +07:00
PePerRoNii
0a3f73077e
Get/Set Thread names
2025-07-14 17:23:36 +07:00