mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 04:10:52 +00:00
- Project external branding renamed to "pikiwidb"; internal branding, configuration file name, and executable name still "pika" - New dependencies `fmt`, `gflags`, `zlib` - Switched to CMake - Rewrite all patches; many dependencies had to be unvendored and build for Android forced - Enable 32-bit ARM target - Tested and appears to be working rootless on a standard device as long as "`eth1`" is changed to "`wlan0`" in the configuration file and then the modified configuration file is specified using `pika -c /path/to/modified/pika.conf`.
15 lines
543 B
Diff
15 lines
543 B
Diff
Prevents
|
|
error: reinterpret_cast from 'pthread_t' (aka 'long') to 'unsigned long' is not allowed
|
|
|
|
--- a/src/net/src/thread_pool.cc
|
|
+++ b/src/net/src/thread_pool.cc
|
|
@@ -25,7 +25,7 @@ int ThreadPool::Worker::start() {
|
|
return -1;
|
|
} else {
|
|
start_.store(true);
|
|
- std::string thread_id_str = std::to_string(reinterpret_cast<unsigned long>(thread_id_));
|
|
+ std::string thread_id_str = std::to_string(thread_id_);
|
|
SetThreadName(thread_id_, thread_pool_->thread_pool_name() + "_Worker_" + thread_id_str);
|
|
}
|
|
}
|