]> sourceware.org Git - newlib-cygwin.git/blobdiff - winsup/cygwin/winsup.h
* cygwin.din: Export getpriority and setpriority.
[newlib-cygwin.git] / winsup / cygwin / winsup.h
index cd698ba56da0d4cfb9960ae7f1910da63e229855..9be8d679d99c00ee9467a25f4db45315bc41d7d1 100644 (file)
@@ -32,12 +32,14 @@ details. */
 #define NO_COPY __attribute__((nocommon)) __attribute__((section(".data_cygwin_nocopy")))
 #define NO_COPY_INIT __attribute__((section(".data_cygwin_nocopy")))
 
+#define EXPORT_ALIAS(sym,symalias) extern "C" __typeof (sym) symalias __attribute__ ((alias(#sym)));
+
 #if !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199900L
 #define NEW_MACRO_VARARGS
 #endif
 
 #ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0501
 #endif
 
 #include <sys/types.h>
@@ -134,7 +136,7 @@ extern int cygserver_running;
 #include "debug.h"
 
 /* Events/mutexes */
-extern HANDLE title_mutex;
+extern HANDLE tty_mutex;
 
 /**************************** Convenience ******************************/
 
@@ -304,6 +306,9 @@ extern "C" int low_priority_sleep (DWORD) __attribute__ ((regparm (1)));
 
 size_t getshmlba (void);
 
+int winprio_to_nice (DWORD) __attribute__ ((regparm (1)));
+DWORD nice_to_winprio (int &) __attribute__ ((regparm (1)));
+
 /**************************** Exports ******************************/
 
 extern "C" {
This page took 0.022692 seconds and 5 git commands to generate.