summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
authorWander Lairson Costa <wander.lairson@gmail.com>2021-04-17 15:31:09 -0300
committerFelipe Magno de Almeida <felipe@expertise.dev>2021-04-17 16:00:32 -0300
commit65d528a3798b72dbd2e01b4f37caa898af50e359 (patch)
tree74c68eead99185fa684d23326e6b71dc47ac4688 /header_checks
parent287834b0dafa2c96c8920c792348b48655f06766 (diff)
downloadefl-65d528a3798b72dbd2e01b4f37caa898af50e359.tar.gz
Implement eina_thread for native windows
Summary: eina: Implement Eina_Thread for native windows The implementation design respects the fact that Eina_Thread is an uintptr_t. Thus we allocate the thread struct in the heap and return a pointer to it. As such, we store the created thread structure in the target thread TLS slot. For threads that were not created through eina API, in eina_thread_self we allocate a new structure, push it to the TLS slot and mark it to be freed on thread exit. Reviewers: jptiz, vtorri, cedric, walac Reviewed By: jptiz, cedric Subscribers: raster, cedric, #reviewers, #committers, lucas Tags: #efl Differential Revision: https://phab.enlightenment.org/D12037
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index 2f0205f28a..833b9139f6 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -53,7 +53,8 @@ header_checks = [
'features.h',
'langinfo.h',
'locale.h',
- 'crt_externs.h'
+ 'crt_externs.h',
+ 'pthread.h',
]
#### The below is logically broken