Commit Graph

14 Commits

Author SHA1 Message Date
Vftdan 1120424949 Hide ThreadResult.pointer usages 2024-10-25 15:33:58 +02:00
Vftdan a3f00a7b22 Copy thread implementation using C11 threads.h 2024-10-25 02:27:30 +02:00
Vftdan c4b801b761 Don't guarantee more than 32-bit thread result 2024-10-25 02:04:21 +02:00
Vftdan 6b76570afd Spin lock initializer 2024-10-25 01:38:26 +02:00
Vftdan aaa595dbb7 Implement yielding spin lock type 2024-10-25 01:32:21 +02:00
Vftdan 8dd0ffdb3b Add thread_exit and thread_yield 2024-10-25 01:30:48 +02:00
Vftdan fe2590240b Also deserialize unsigned integers 2024-10-24 10:27:45 +02:00
Vftdan 67fb39b808 Fix thread.posix.c
- Fix memory leak when thread_spawn fails
- Remove incorrect assertion (pthread_t in general case is neither scalar
  nor non-zero)
2024-10-24 10:23:51 +02:00
Vftdan 4eed5f9af1 Add .gitignore 2024-10-23 14:16:36 +02:00
Vftdan 44cf381ce1 Basic thread wrapper 2024-10-23 14:15:11 +02:00
Vftdan 1fc696dc51 Stream abstraction, [WIP] integer (de)serealization 2024-10-23 14:12:39 +02:00
Vftdan 9df451de61 Copy hashtable implementation from another project 2024-10-23 14:03:51 +02:00
Vftdan bf9677f2ae Fix Makefile
- Pass INCPATH to CPP
- Delete whole build dir
2024-10-23 14:01:58 +02:00
Vftdan 19b21f65d5 Initial commit 2024-10-23 13:44:02 +02:00