summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2010-07-31 22:33:26 +0000
committersf-exg <sf-exg>2010-07-31 22:33:26 +0000
commit525febc886bb667cc84f59eebdd27c39af9ae73a (patch)
tree81c13a16b8446924fedec12cc9d54f0f44f6bae0 /ev.c
parent76c13de993689fd0acf24f1cd2a938896fada05d (diff)
Fix typos.
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ev.c b/ev.c
index 283167f..c023764 100644
--- a/ev.c
+++ b/ev.c
@@ -513,7 +513,7 @@ typedef ev_watcher_time *WT;
#if EV_USE_REALTIME
/* sig_atomic_t is used to avoid per-thread variables or locking but still */
-/* giving it a reasonably high chance of working on typical architetcures */
+/* giving it a reasonably high chance of working on typical architectures */
static EV_ATOMIC_T have_realtime; /* did clock_gettime (CLOCK_REALTIME) work? */
#endif
@@ -796,7 +796,7 @@ ev_sleep (ev_tstamp delay)
#define MALLOC_ROUND 4096 /* prefer to allocate in chunks of this size, must be 2**n and >> 4 longs */
/* find a suitable new size for the given array, */
-/* hopefully by rounding to a ncie-to-malloc size */
+/* hopefully by rounding to a nice-to-malloc size */
inline_size int
array_nextsize (int elem, int cur, int cnt)
{
@@ -1073,7 +1073,7 @@ fd_intern (int fd)
/*****************************************************************************/
/*
- * the heap functions want a real array index. array index 0 uis guaranteed to not
+ * the heap functions want a real array index. array index 0 is guaranteed to not
* be in-use at any time. the first heap entry is at array [HEAP0]. DHEAP gives
* the branching factor of the d-tree.
*/
@@ -2181,7 +2181,7 @@ periodics_reify (EV_P)
}
/* simply recalculate all periodics */
-/* TODO: maybe ensure that at leats one event happens when jumping forward? */
+/* TODO: maybe ensure that at least one event happens when jumping forward? */
static void noinline
periodics_reschedule (EV_P)
{