blob: 1267e4f37368e413a7d1469a4815f14dd99a4314 [file] [log] [blame]
Marat Dukhan08c4a432019-10-03 09:29:21 -07001# Description:
2# Portable pthread-based thread pool for C and C++
3
4package(default_visibility = ["//visibility:public"])
5
6licenses(["notice"])
7
8exports_files(["LICENSE"])
9
10cc_library(
11 name = "pthreadpool",
12 srcs = [
13 "src/threadpool-pthreads.c",
14 "src/threadpool-utils.h",
15 ],
16 hdrs = [
17 "include/pthreadpool.h",
18 ],
19 copts = [
20 "-O2",
21 ],
22 defines = [
23 "PTHREADPOOL_NO_DEPRECATED_API",
24 ],
25 includes = [
26 "include",
27 ],
28 strip_include_prefix = "include",
29 deps = [
30 "@FXdiv",
31 ],
32)