+2008-08-14 Bruno Haible <bruno@clisp.org>
+
+ * lib/glthread/lock.h: Renamed from lib/lock.h.
+ * lib/glthread/lock.c: Renamed from lib/lock.c. Update includes.
+ * lib/glthread/tls.h: Renamed from lib/tls.h.
+ * lib/glthread/tls.c: Renamed from lib/tls.c. Update includes.
+ * lib/fstrcmp.c: Update includes.
+ * lib/strsignal.c: Update includes.
+ * modules/lock (Files, Makefile.am): Update.
+ (Include): Change to "glthread/lock.h".
+ * modules/tls (Files, Makefile.am): Update.
+ (Include): Change to "glthread/tls.h".
+ * tests/test-lock.c: Update includes.
+ * tests/test-tls.c: Update includes.
+ * NEWS: Mention the renamed header files.
+
2008-08-11 Jim Meyering <meyering@redhat.com>
* lib/fts_.h: Fix grammar (insert a missing "is") in a comment.
Date Modules Changes
+2008-08-14 lock The include file is changed from "lock.h"
+ to "glthread/lock.h".
+ tls The include file is changed from "tls.h"
+ to "glthread/tls.h".
+
2008-07-17 c-stack The module now requires the addition of
$(LIBCSTACK) or $(LTLIBCSTACK) in Makefile.am,
since it may depend on linking with libsigsegv.
/* Functions to make fuzzy comparisons between strings
- Copyright (C) 1988-1989, 1992-1993, 1995, 2001-2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1988-1989, 1992-1993, 1995, 2001-2003, 2006, 2008
+ Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdlib.h>
#include <limits.h>
-#include "lock.h"
-#include "tls.h"
+#include "glthread/lock.h"
+#include "glthread/tls.h"
#include "minmax.h"
#include "xalloc.h"
#include <config.h>
-#include "lock.h"
+#include "glthread/lock.h"
/* ========================================================================= */
#include <config.h>
-#include "tls.h"
+#include "glthread/tls.h"
/* ========================================================================= */
#ifdef _LIBC
# include <bits/libc-lock.h>
#else /* !_LIBC */
-# include "lock.h"
-# include "tls.h"
+# include "glthread/lock.h"
+# include "glthread/tls.h"
# define __libc_once_define(CLASS, NAME) gl_once_define (CLASS, NAME)
# define __libc_once(NAME, INIT) gl_once ((NAME), (INIT))
# define __libc_key_t gl_tls_key_t
Locking in multithreaded situations.
Files:
-lib/lock.h
-lib/lock.c
+lib/glthread/lock.h
+lib/glthread/lock.c
m4/lock.m4
build-aux/config.rpath
gl_LOCK
Makefile.am:
-lib_SOURCES += lock.h lock.c
+lib_SOURCES += glthread/lock.h glthread/lock.c
Include:
-"lock.h"
+"glthread/lock.h"
Link:
$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
Thread-local storage in multithreaded situations.
Files:
-lib/tls.h
-lib/tls.c
+lib/glthread/tls.h
+lib/glthread/tls.c
m4/tls.m4
Depends-on:
gl_TLS
Makefile.am:
-lib_SOURCES += tls.h tls.c
+lib_SOURCES += glthread/tls.h glthread/tls.c
Include:
-"tls.h"
+"glthread/tls.h"
License:
LGPLv2+
/* Test of locking in multithreaded situations.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
# undef USE_PTH_THREADS
# undef USE_WIN32_THREADS
#endif
-#include "lock.h"
+#include "glthread/lock.h"
#if ENABLE_DEBUGGING
# define dbgprintf printf
/* Test of thread-local storage in multithreaded situations.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdlib.h>
#include <string.h>
-#include "tls.h"
+#include "glthread/tls.h"
#if ENABLE_DEBUGGING
# define dbgprintf printf