summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-30 02:51:22 +0000
committerChristopher Faylor <me@cgf.cx>2002-09-30 02:51:22 +0000
commit9d1e72a175495da5e6fb65582909169fd4b8a4a3 (patch)
treee1dafddbbc31cce15fb5c0596941c8fda4f2e7e0 /winsup/cygwin/thread.h
parent79ed43004f82508fc5b75e5eaf2f890cd63ad1fc (diff)
downloadcygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.gz
cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.bz2
cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.zip
* environ.cc (environ_init): Avoid a compiler warning.
* path.cc (path_conv::check): Ditto. * path.h (path_conv::operator int): Ditto. * regex/engine.c: Ditto throughout. * regex/regcomp.c: Ditto throughout. * regex/regexec.c: Ditto throughout.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index 77a461ffd..9490ee947 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -254,7 +254,7 @@ template <class ListNode> void
List<ListNode>::forEach (void (*callback)(ListNode *))
{
ListNode *aNode = head;
- while (aNode)
+ while (aNode)
{
callback (aNode);
aNode = aNode->next;
@@ -293,7 +293,7 @@ public:
static bool isGoodInitializerOrObject(pthread_mutex_t const *);
static void initMutex ();
static int init (pthread_mutex_t *, const pthread_mutexattr_t *);
-
+
CRITICAL_SECTION criticalsection;
HANDLE win32_obj_id;
LONG condwaits;
@@ -355,7 +355,7 @@ public:
virtual void exit (void *value_ptr);
virtual int cancel ();
-
+
virtual void testcancel ();
static void static_cancel_self ();
@@ -459,7 +459,7 @@ public:
static int wait (sem_t * sem);
static int trywait (sem_t * sem);
static int post (sem_t * sem);
-
+
HANDLE win32_obj_id;
class semaphore * next;
int shared;