Commit cf3c4045 authored by Bruno Haible's avatar Bruno Haible

New module 'thread'.

parent b36e040f
2008-08-17 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
New module 'thread'.
* modules/thread: New file.
* lib/glthread/thread.h: New file.
* m4/thread.m4: New file.
* MODULES.html.sh (Multithreading): Add thread.
2008-08-17 Bruno Haible <bruno@clisp.org>
* lib/glthread/lock.h: Include <stdlib.h> always.
......@@ -2379,6 +2379,7 @@ func_all_modules ()
func_module threadlib
func_module lock
func_module tls
func_module thread
func_module cond
func_module openmp
func_end_table
......
This diff is collapsed.
# thread.m4 serial 1
dnl Copyright (C) 2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_THREAD],
[
AC_REQUIRE([gl_THREADLIB])
AC_REQUIRE([AC_C_INLINE])
if test $gl_threads_api = posix; then
AC_CHECK_FUNCS([pthread_atfork])
fi
])
Description:
Creating and controlling threads.
Files:
lib/glthread/thread.h
m4/thread.m4
Depends-on:
threadlib
configure.ac:
gl_THREAD
Makefile.am:
lib_SOURCES += glthread/thread.h
Include:
"glthread/thread.h"
Link:
$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
License:
LGPLv2+
Maintainer:
Yoann Vandoorselaere
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment