Switching a few types to their platform-agnostic versions.

This commit is contained in:
Ben Vanik
2015-07-15 22:09:19 -07:00
parent 91ae97e558
commit fefaa31cd8
14 changed files with 53 additions and 71 deletions

View File

@@ -48,6 +48,10 @@ class Fence {
// Returns the total number of logical processors in the host system.
uint32_t logical_processor_count();
// Enables the current process to set thread affinity.
// Must be called at startup before attempting to set thread affinity.
void EnableAffinityConfiguration();
// Gets a stable thread-specific ID, but may not be. Use for informative
// purposes only.
uint32_t current_thread_id();