Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-11-12 07:57:41 +0300
committerChristopher Faylor <me@cgf.cx>2000-11-12 07:57:41 +0300
commit49421cd9c5d29b29b4da341a75855b00fbab9b3d (patch)
treea6d69de6607d164700a085a452b813869332548d /winsup/cygwin/sync.h
parent6ccb6bcf3d24550eead6c969f2ac9a5f9f5105d3 (diff)
* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
* pinfo.h: Ditto. * sigproc.h: Ditto. * sync.h: Ditto.
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index 32a2516c5..b04fc3999 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -31,7 +31,7 @@ public:
/* The real constructor. */
muto(int inh, const char *name);
~muto ();
- int acquire (DWORD ms = INFINITE); /* Acquire the lock. */
+ int acquire (DWORD ms = INFINITE) __attribute__ ((regparm(1))); /* Acquire the lock. */
int release (); /* Release the lock. */
/* Return true if caller thread owns the lock. */