Commit 404dd024 by Edward Thomson

threads: rename thread files to thread.[ch]

parent ab772974
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "repository.h" #include "repository.h"
#include "commit.h" #include "commit.h"
#include "thread-utils.h" #include "thread.h"
#include "util.h" #include "util.h"
#include "odb.h" #include "odb.h"
#include "object.h" #include "object.h"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "git2/oid.h" #include "git2/oid.h"
#include "git2/odb.h" #include "git2/odb.h"
#include "thread-utils.h" #include "thread.h"
#include "oidmap.h" #include "oidmap.h"
enum { enum {
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
#include "git2/types.h" #include "git2/types.h"
#include "git2/errors.h" #include "git2/errors.h"
#include "errors.h" #include "errors.h"
#include "thread-utils.h" #include "thread.h"
#include "integer.h" #include "integer.h"
#include "assert_safe.h" #include "assert_safe.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "refs.h" #include "refs.h"
#include "runtime.h" #include "runtime.h"
#include "sysdir.h" #include "sysdir.h"
#include "thread-utils.h" #include "thread.h"
#include "threadstate.h" #include "threadstate.h"
#include "git2/global.h" #include "git2/global.h"
#include "streams/registry.h" #include "streams/registry.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "iterator.h" #include "iterator.h"
#include "netops.h" #include "netops.h"
#include "pack.h" #include "pack.h"
#include "thread-utils.h" #include "thread.h"
#include "tree.h" #include "tree.h"
#include "util.h" #include "util.h"
#include "revwalk.h" #include "revwalk.h"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "util.h" #include "util.h"
#include "futils.h" #include "futils.h"
#include "vector.h" #include "vector.h"
#include "thread-utils.h" #include "thread.h"
#include "pool.h" #include "pool.h"
#include "strmap.h" #include "strmap.h"
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with * This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file. * a Linking Exception. For full terms see the included COPYING file.
*/ */
#ifndef INCLUDE_thread_utils_h__ #ifndef INCLUDE_thread_h__
#define INCLUDE_thread_utils_h__ #define INCLUDE_thread_h__
#if defined(GIT_THREADS) #if defined(GIT_THREADS)
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "buffer.h" #include "buffer.h"
#include "common.h" #include "common.h"
#include "strnlen.h" #include "strnlen.h"
#include "thread-utils.h" #include "thread.h"
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
#define bitsizeof(x) (CHAR_BIT * sizeof(x)) #define bitsizeof(x) (CHAR_BIT * sizeof(x))
......
#include "thread-utils.h" #include "thread.h"
void run_in_parallel( void run_in_parallel(
int repeats, int repeats,
......
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