efl/src/tests/eina
Wander Lairson Costa 6bc4748657 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, walac, vtorri, woohyun, lucas

Reviewed By: jptiz, cedric

Subscribers: raster, cedric, #reviewers, #committers, lucas

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12037
2020-12-15 17:20:24 -03:00
..
.gitignore
cxx_compile_test.cxx
eina_fnmatch_test.c eina: Add eina_fnmatch win32 implementation 2020-12-15 16:10:26 -03:00
eina_fnmatch_test.sh eina: Add eina_fnmatch win32 implementation 2020-12-15 16:10:26 -03:00
eina_suite.c eina: Implement Eina_Thread for native windows 2020-12-15 17:20:24 -03:00
eina_suite.h eina: Implement Eina_Thread for native windows 2020-12-15 17:20:24 -03:00
eina_suite.x
eina_test_abi.c eina: Rename EAPI macro to EINA_API in Eina library 2020-12-14 12:33:27 -03:00
eina_test_abstract_content.c eina_content: free eina content in the test: 2020-04-17 10:53:15 +02:00
eina_test_accessor.c eina_accessor: make carray accessor work properly 2019-12-18 21:45:42 +01:00
eina_test_array.c tests: eina: fix usage of long on Windows 2020-05-19 13:58:57 +02:00
eina_test_barrier.c eina: Fix evil and Windows #include's 2020-12-15 16:10:26 -03:00
eina_test_benchmark.c eina: Fix evil and Windows #include's 2020-12-15 16:10:26 -03:00
eina_test_bezier.c tests: resolve float comparison warnings 2020-05-09 09:25:14 +01:00
eina_test_binbuf.c eina_test_binbuf: Fix memory leak 2019-05-02 13:44:22 +02:00
eina_test_binshare.c
eina_test_clist.c
eina_test_convert.c tests - remove one of the eina strtod tests as libc is failing 2019-04-07 14:47:35 +01:00
eina_test_counter.c
eina_test_cow.c
eina_test_crc.c
eina_test_debug.c
eina_test_error.c tests: eina: fix ENOMEM message on Windows and solaris 2020-06-18 13:45:09 +02:00
eina_test_file.c eina: Fix evil and Windows #include's 2020-12-15 16:10:26 -03:00
eina_test_fp.c
eina_test_freeq.c
eina_test_hash.c
eina_test_inarray.c eina-suite: do not print that many errors 2020-02-14 09:01:06 +01:00
eina_test_inlist.c
eina_test_iterator.c eina: introduce eina_iterator_process 2020-02-19 16:34:05 +01:00
eina_test_lalloc.c
eina_test_list.c
eina_test_lock.c eina_test_lock.c: Implement clock_gettime for Windows 2020-08-20 09:36:23 +02:00
eina_test_log.c Use __func__ C99 identifier instead of __FUNCTION__ compiler extension 2020-05-07 09:27:07 -04:00
eina_test_magic.c Use __func__ C99 identifier instead of __FUNCTION__ compiler extension 2020-05-07 09:27:07 -04:00
eina_test_main.c
eina_test_matrix.c eina_matrix: Add eina_matrix4 operator(translate, rotate, scale) 2020-01-29 15:31:07 +09:00
eina_test_matrixsparse.c tests: eina: make sure we always check on eina_matrixsparse_data_idx_get return 2020-06-10 17:39:02 +02:00
eina_test_mempool.c eina: add eina_mempool_iterator_new to slowly iterate every allocated pointer in a mempool. 2019-09-19 14:37:41 -07:00
eina_test_module.c tests: eina: check return of eina_module_load and unload 2020-06-10 10:08:02 +02:00
eina_test_module_dummy.c eina: Rename EAPI macro to EINA_API in Eina library 2020-12-14 12:33:27 -03:00
eina_test_quad.c
eina_test_quadtree.c
eina_test_quaternion.c tests: resolve float comparison warnings 2020-05-09 09:25:14 +01:00
eina_test_range.c eina: add new range Data type 2020-01-23 06:54:44 +09:00
eina_test_rbtree.c
eina_test_rectangle.c
eina_test_safepointer.c eina-suite: do not print that many errors 2020-02-14 09:01:06 +01:00
eina_test_sched.c
eina_test_simple_xml_parser.c
eina_test_slice.c
eina_test_slstr.c tests/eina: use slstr_steal function in slstr_steal test 2019-10-24 17:55:17 +02:00
eina_test_str.c tests/eina: outdent code 2019-09-26 17:59:34 -04:00
eina_test_strbuf.c eina_strbuf: introduce change last occurrence function 2020-06-22 17:31:54 +09:00
eina_test_stringshare.c
eina_test_thread.c eina: Implement Eina_Thread for native windows 2020-12-15 17:20:24 -03:00
eina_test_tiler.c eina_test_tiler: Fix resource leak 2019-05-02 14:11:12 +02:00
eina_test_tmpstr.c
eina_test_trash.c
eina_test_ustr.c eina_test_ustr: Fix resource leak 2019-05-02 13:48:27 +02:00
eina_test_ustringshare.c
eina_test_util.c
eina_test_value.c eina: Fix evil and Windows #include's 2020-12-15 16:10:26 -03:00
eina_test_vector.c tests: resolve float comparison warnings 2020-05-09 09:25:14 +01:00
eina_test_vpath.c eina-suite: do not print that many errors 2020-02-14 09:01:06 +01:00
eina_test_xattr.c eina: Fix evil and Windows #include's 2020-12-15 16:10:26 -03:00
meson.build eina: Implement Eina_Thread for native windows 2020-12-15 17:20:24 -03:00
sample.gpx