================
@@ -254,6 +277,8 @@ class ProcessInstanceInfo : public ProcessInfo {
   struct timespec m_system_time {};
   struct timespec m_cumulative_user_time {};
   struct timespec m_cumulative_system_time {};
+  int8_t m_nice_value = INT8_MAX;
----------------
clayborg wrote:

maybe make this a `std::optional<int8_t>`? It would be nice to know when/if 
things in `ProcessInstanceInfo` are set to value values or just defaulted. it 
might be nice to make many things in this class be std::optional as well so we 
know when we have a valid value and when we don't

https://github.com/llvm/llvm-project/pull/91544
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to