Commit 404dd024 by Edward Thomson

threads: rename thread files to thread.[ch]

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