mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 914348 - Name SamplerThread on linux. r=jld
--HG-- extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
This commit is contained in:
parent
3a2dcdf72f
commit
7eae9ccca8
@ -345,10 +345,12 @@ void Sampler::Start() {
|
||||
// Sending the signal ourselves instead of relying on itimer provides
|
||||
// much better accuracy.
|
||||
SetActive(true);
|
||||
|
||||
if (pthread_create(
|
||||
&signal_sender_thread_, NULL, SignalSender, NULL) == 0) {
|
||||
signal_sender_launched_ = true;
|
||||
}
|
||||
pthread_setname_np(signal_sender_thread_, "SamplerThread");
|
||||
LOG("Profiler thread started");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user