summaryrefslogtreecommitdiff
path: root/lib/windows-thread.h
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* Put LGPLv2+ notices in source files where appropriate.Bruno Haible2021-06-041-8/+8
| | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* thread, thrd: Avoid a compiler warning.Bruno Haible2020-06-171-1/+1
| | | | * lib/windows-thread.h (glwthread_thread_exit): Mark as non-returning.
* windows-thread: Avoid a compiler warning.Biswapriyo Nath2020-06-171-1/+1
| | | | | | | | * lib/windows-thread.h (glwthread_thread_exit): Change return type to void. * lib/windows-thread.c (glwthread_thread_exit): Likewise. Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* windows-thread: Add support for creating a thread in detached state.Bruno Haible2019-07-151-0/+3
| | | | | | | | * lib/windows-thread.h (GLWTHREAD_ATTR_DETACHED): New macro. (glwthread_thread_create): Add attr argument. * lib/windows-thread.c (glwthread_thread_create): Likewise. * lib/glthread/thread.h (glthread_create): Update. * lib/thrd.c (thrd_create): Update.
* windows-thread: New module.Bruno Haible2019-06-201-0/+52
* lib/windows-thread.h: New file, based on lib/glthread/thread.h. * lib/windows-thread.c: New file, based on lib/glthread/thread.c. * lib/glthread/thread.h: Include windows-thread.h. (gl_thread_t): Define using glwthread_thread_t. (glthread_create): Define using glwthread_thread_create. (glthread_join): Define using glwthread_thread_join. (gl_thread_self): Define using glwthread_thread_self. (gl_thread_exit): Define using glwthread_thread_exit. (glthread_create_func, glthread_join_func, gl_thread_self_func, gl_thread_exit_func): Remove declarations. * lib/glthread/thread.c (self_key): Remove variable. (do_init_self_key, init_self_key): Remove functions. (struct gl_thread_struct): Remove type. (get_current_thread_handle, gl_thread_self_func, wrapper_func, glthread_create_func, glthread_join_func, gl_thread_exit_func): Remove functions. * modules/windows-thread: New file. * modules/thread (Depends-on): Add windows-thread.