gallium/util: remove unused pipe_thread_destroy()
[mesa.git] / src / gallium / auxiliary / os / os_misc.h
index 48522dac4d72795c903012945ae68d198b67bbed..403c8ee6ec5c345669f810649fe89486e3507072 100644 (file)
@@ -66,8 +66,8 @@ extern "C" {
 /*
  * Abort the program.
  */
-#if defined(DEBUG) || defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
-#  define os_abort() os_break()
+#if defined(DEBUG)
+#  define os_abort() do { os_break(); abort(); } while(0)
 #else
 #  define os_abort() abort()
 #endif
@@ -87,6 +87,13 @@ const char *
 os_get_option(const char *name);
 
 
+/*
+ * Get the total amount of physical memory available on the system.
+ */
+bool
+os_get_total_physical_memory(uint64_t *size);
+
+
 #ifdef __cplusplus
 }
 #endif