X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fcompress_parallel.c;h=acf4ea58afc24b4299f7848d22301486c6be5bbe;hb=958cc5438f3ade80baafcfbf15da370e819a6b90;hp=bba4e120687c04ca922549182c691c03d1b5fff8;hpb=aae306916e3c97040650b669e21f30bf32b0839d;p=wimlib diff --git a/src/compress_parallel.c b/src/compress_parallel.c index bba4e120..acf4ea58 100644 --- a/src/compress_parallel.c +++ b/src/compress_parallel.c @@ -7,19 +7,18 @@ /* * Copyright (C) 2013 Eric Biggers * - * This file is part of wimlib, a library for working with WIM files. + * This file is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 3 of the License, or (at your option) any + * later version. * - * wimlib is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. + * This file is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. * - * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * wimlib; if not, see http://www.gnu.org/licenses/. + * You should have received a copy of the GNU Lesser General Public License + * along with this file; if not, see http://www.gnu.org/licenses/. */ #ifdef HAVE_CONFIG_H @@ -28,15 +27,6 @@ #ifdef ENABLE_MULTITHREADED_COMPRESSION -#include "wimlib/assert.h" -#include "wimlib/chunk_compressor.h" -#include "wimlib/error.h" -#include "wimlib/list.h" -#include "wimlib/util.h" -#ifdef __WIN32__ -# include "wimlib/win32.h" /* win32_get_number_of_processors() */ -#endif - #include #include #include @@ -47,6 +37,15 @@ # include #endif +#include "wimlib/assert.h" +#include "wimlib/chunk_compressor.h" +#include "wimlib/error.h" +#include "wimlib/list.h" +#include "wimlib/util.h" +#ifdef __WIN32__ +# include "wimlib/win32.h" /* win32_get_number_of_processors() */ +#endif + struct message_queue { struct list_head list; pthread_mutex_t lock;