Transaction

207157bc32c06acfc297ef34286474ce4c1908b693ca3f8a99c9edf40b32b629
Timestamp (utc)
2024-03-22 08:53:29
Fee Paid
0.00000018 BSV
(
0.00966396 BSV
-
0.00966378 BSV
)
Fee Rate
10.35 sat/KB
Version
1
Confirmations
93,865
Size Stats
1,739 B

2 Outputs

Total Output:
0.00966378 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckMÎ<div class="post">It sets different priorities for each thread. &nbsp;The generate threads run at PRIO_MIN. &nbsp;The other threads rarely take any CPU and run at normal.<br/><br/>#define THREAD_PRIORITY_LOWEST &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PRIO_MIN<br/>#define THREAD_PRIORITY_BELOW_NORMAL &nbsp; &nbsp;2<br/>#define THREAD_PRIORITY_NORMAL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br/><br/>The priorities converted from Windows priorities were probably from a table like this:<br/><br/>&nbsp;&nbsp; "The following table shows the mapping between nice values and Win32 priorities. Refer to the Win32 documentation for SetThreadPriority() for more information on Win32 priority issues.<br/><br/>nice value &nbsp;&nbsp;&nbsp;Win32 Priority<br/>-20 to -16 &nbsp;&nbsp;&nbsp;THREAD_PRIORITY_HIGHEST<br/>-15 to -6 &nbsp;&nbsp;&nbsp;THREAD_PRIORITY_ABOVE_NORMAL<br/>-5 to +4 &nbsp;&nbsp;&nbsp;THREAD_PRIORITY_NORMAL<br/>+5 to +14 &nbsp;&nbsp;&nbsp;THREAD_PRIORITY_BELOW_NORMAL<br/>+15 to +19 &nbsp;&nbsp;&nbsp;THREAD_PRIORITY_LOWEST"<br/><br/>If you have better values, suggestions welcome.<br/><br/>Also, there was some advice on the web that PRIO_PROCESS is used on Linux because threads are processes. &nbsp;If that's not true, maybe it accounts for unexpectedly setting the priority of the whole app.<br/><br/>&nbsp;&nbsp; &nbsp;// threads are processes on linux, so PRIO_PROCESS affects just the one thread<br/>&nbsp;&nbsp; &nbsp;setpriority(PRIO_PROCESS, getpid(), nPriority);<br/></div> text/html
    https://whatsonchain.com/tx/207157bc32c06acfc297ef34286474ce4c1908b693ca3f8a99c9edf40b32b629