--- libev/ev_poll.c 2009/07/10 00:36:21 1.29 +++ libev/ev_poll.c 2010/01/15 00:10:34 1.32 @@ -1,7 +1,7 @@ /* * libev poll fd activity backend * - * Copyright (c) 2007,2008 Marc Alexander Lehmann + * Copyright (c) 2007,2008,2009 Marc Alexander Lehmann * All rights reserved. * * Redistribution and use in source and binary forms, with or without modifica- @@ -42,7 +42,7 @@ void inline_size pollidx_init (int *base, int count) { - /* consider using memset (.., -1, ...), which is pratically guarenteed + /* consider using memset (.., -1, ...), which is pratically guaranteed * to work on all systems implementing poll */ while (count--) *base++ = -1; @@ -91,9 +91,9 @@ struct pollfd *p; int res; - EV_SUSPEND_CB; + EV_RELEASE_CB; res = poll (polls, pollcnt, (int)ceil (timeout * 1000.)); - EV_RESUME_CB; + EV_ACQUIRE_CB; if (expect_false (res < 0)) {