diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-12 04:57:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-12 04:57:41 +0000 |
commit | 49421cd9c5d29b29b4da341a75855b00fbab9b3d (patch) | |
tree | a6d69de6607d164700a085a452b813869332548d /winsup/cygwin/sync.h | |
parent | 6ccb6bcf3d24550eead6c969f2ac9a5f9f5105d3 (diff) | |
download | cygnal-49421cd9c5d29b29b4da341a75855b00fbab9b3d.tar.gz cygnal-49421cd9c5d29b29b4da341a75855b00fbab9b3d.tar.bz2 cygnal-49421cd9c5d29b29b4da341a75855b00fbab9b3d.zip |
* 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.h | 2 |
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. */ |