Lime3DS/src/common
comex 2ba35cab73 Fix thread naming on Linux, which limits names to 15 bytes.
- In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at
  least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and
  do nothing.
- Also, add logging in case `pthread_set_name_np` returns an error
  anyway.  This is Linux-specific, as the Apple and BSD versions of
  `pthread_set_name_np return `void`.
- Change the name for CPU threads in multi-core mode from
  "yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it
  fits into the Linux limit.  Some other thread names are also cut off,
  but I didn't bother addressing them as you can guess them from the
  truncated versions.  For a CPU thread, truncation means you can't see
  which core it is!
2020-09-03 03:15:14 +02:00
..
logging common/logging/log: Add LLE in Audio_DSP comment (#5327) 2020-05-04 12:20:56 +02:00
serialization Fix memory region serialization (OSK crash) 2020-04-10 16:51:01 +01:00
x64 common/cpu_detect: Remove Common::CPUVendor 2019-12-09 22:39:56 +00:00
alignment.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
announce_multiplayer_room.h core, web_service: Check for error when registering rooms 2019-04-20 12:50:14 +08:00
archives.h Code review actions (plus hopefully fix the linux CI) 2020-03-31 17:54:28 +01:00
assert.h Port yuzu-emu/yuzu#4577: "common/assert: Make use of C++ attribute syntax" (#5529) 2020-09-02 17:25:31 +02:00
bit_field.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
bit_set.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cityhash.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cityhash.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
CMakeLists.txt common: Remove chunk_file.h 2020-05-01 08:23:59 -04:00
color.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
common_funcs.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
common_paths.h core, citra_qt: Implement a save states file format and slot UI 2020-02-18 13:19:52 +08:00
common_types.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
construct.h Code review - general gardening 2020-03-29 16:14:36 +01:00
detached_tasks.cpp Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
detached_tasks.h Review comments - part 5 2018-10-20 10:35:55 -04:00
file_util.cpp Merge pull request #5224 from FearlessTobi/port-3630 2020-05-13 18:28:01 +02:00
file_util.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
hash.h gl_shader_gen: Mark hash implementations as noexcept 2020-04-30 22:57:36 -04:00
linear_disk_cache.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
math_util.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
memory_ref.cpp Added copyright notices on new files 2020-03-28 15:21:10 +00:00
memory_ref.h Code review actions (plus hopefully fix the linux CI) 2020-03-31 17:54:28 +01:00
microprofile.cpp Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
microprofileui.h Common: Remove section measurement from profiler (#1731) 2016-04-29 00:07:10 -07:00
misc.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
param_package.cpp core/dumping: Allow format/encoder selection+configuration 2020-02-27 16:55:10 +08:00
param_package.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
quaternion.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
ring_buffer.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
scm_rev.cpp.in Add shader cache version generation 2020-01-15 19:58:33 -07:00
scm_rev.h Add shader cache version generation 2020-01-15 19:58:33 -07:00
scope_exit.h common/scope_exit: Replace std::move with std::forward in ScopeExit() 2019-04-15 17:55:44 +02:00
string_util.cpp remove Common::TrimSourcePath 2019-03-10 19:18:09 -05:00
string_util.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
swap.h common/swap: Improve codegen of the default swap fallbacks 2019-04-15 17:56:16 +02:00
telemetry.cpp common: Add a generic interface for logging telemetry fields. 2017-05-24 19:16:21 -04:00
telemetry.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
texture.cpp new-line that clang-format didn't fix 2019-11-09 12:56:17 -07:00
texture.h specify size of buffer and use openglstate in getteximageoes 2019-11-09 12:58:17 -07:00
thread_queue_list.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
thread.cpp Fix thread naming on Linux, which limits names to 15 bytes. 2020-09-03 03:15:14 +02:00
thread.h input_common/udp: Port various changes from yuzu (#5133) 2020-04-17 02:50:28 +02:00
threadsafe_queue.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
timer.cpp Address review comments 2018-09-06 00:00:21 +02:00
timer.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
vector_math.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00
web_result.h Put WebResult into a seperate file 2018-10-27 00:39:02 +02:00
zstd_compression.cpp Address review and update zstd 2020-01-15 19:58:34 -07:00
zstd_compression.h Port yuzu-emu/yuzu#4528: "common: Make use of [[nodiscard]] where applicable" (#5535) 2020-08-31 21:06:16 +02:00