|
|
|
@ -66,7 +66,7 @@ fn main() -> Result<()> { |
|
|
|
let thread_id = thread_native_id(); |
|
|
|
assert!(set_thread_priority(thread_id, |
|
|
|
ThreadPriority::Max, |
|
|
|
ThreadSchedulePolicy::Realtime(RealtimeThreadSchedulePolicy::RoundRobin)).is_ok()); |
|
|
|
ThreadSchedulePolicy::Normal(NormalThreadSchedulePolicy::Normal)).is_ok()); |
|
|
|
|
|
|
|
let address = "0.0.0.0:8000"; |
|
|
|
println!("Initialize network"); |
|
|
|
|