]> Savannah Git Hosting - gnulib.git/commit
windows-thread: New module.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Jun 2019 02:16:20 +0000 (04:16 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 20 Jun 2019 02:17:11 +0000 (04:17 +0200)
commit0894f96f89e0e44bdf2921e6cd51fca429bf9802
tree24ba548ed51d2b75af2299102410646764738c67
parent7435d61f26ef6dece4f94ea00972145b587ef7ab
windows-thread: New module.

* 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.
ChangeLog
lib/glthread/thread.c
lib/glthread/thread.h
lib/windows-thread.c [new file with mode: 0644]
lib/windows-thread.h [new file with mode: 0644]
modules/thread
modules/windows-thread [new file with mode: 0644]