Jan Beich
90ac6468bb
common: only FreeBSD has thread affinity compatible with Linux
src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'?
cpu_set_t cpu_set;
^~~~~~~~~
cpuset_t
/usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here
typedef struct _cpuset cpuset_t;
^
1 error generated.
9 years ago
Jan Beich
a1497619eb
common: define routines to set thread name on more BSDs
src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np'
pthread_setname_np(pthread_self(), szThreadName);
^
1 error generated.
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
Emmanuel Gil Peyrot
2a36edfd86
Common: Cleanup thread includes.
11 years ago
darkf
5d10b212ec
Fix MSVC-related #defines and add CMakeLists comment
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
darkf
459502e48c
Fix MinGW build
11 years ago
Emmanuel Gil Peyrot
f5d38649c7
Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated
11 years ago
archshift
9d7cc2bedc
common: Prune all redundant includes
11 years ago
archshift
498d1a37f1
Removed common/std_xyz, instead using the std header
11 years ago
Anthony J. Bentley
dad3655a6d
Use pthread_set_name_np() on OpenBSD.
12 years ago
bunnei
de0a034a84
fixed project includes to use new directory structure
12 years ago
bunnei
63e46abdb8
got rid of 'src' folders in each sub-project
12 years ago
bunnei
c9b5b89e21
convert tabs to spaces
12 years ago
ShizZy
7564d28faf
replaced common code with dolphin common
12 years ago