ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.417 by root, Mon Apr 2 20:22:30 2012 UTC vs.
Revision 1.418 by root, Mon Apr 2 23:14:41 2012 UTC

1/* 1/*
2 * libev event processing core, watcher management 2 * libev event processing core, watcher management
3 * 3 *
4 * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann <libev@schmorp.de>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without modifica- 7 * Redistribution and use in source and binary forms, with or without modifica-
8 * tion, are permitted provided that the following conditions are met: 8 * tion, are permitted provided that the following conditions are met:
9 * 9 *
2930 2930
2931 mn_now = ev_rt_now; 2931 mn_now = ev_rt_now;
2932 } 2932 }
2933} 2933}
2934 2934
2935void 2935int
2936ev_run (EV_P_ int flags) 2936ev_run (EV_P_ int flags)
2937{ 2937{
2938#if EV_FEATURE_API 2938#if EV_FEATURE_API
2939 ++loop_depth; 2939 ++loop_depth;
2940#endif 2940#endif
3097 loop_done = EVBREAK_CANCEL; 3097 loop_done = EVBREAK_CANCEL;
3098 3098
3099#if EV_FEATURE_API 3099#if EV_FEATURE_API
3100 --loop_depth; 3100 --loop_depth;
3101#endif 3101#endif
3102
3103 return activecnt;
3102} 3104}
3103 3105
3104void 3106void
3105ev_break (EV_P_ int how) 3107ev_break (EV_P_ int how)
3106{ 3108{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines