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

Comparing libev/ev.c (file contents):
Revision 1.34 by root, Thu Nov 1 11:43:11 2007 UTC vs.
Revision 1.36 by root, Thu Nov 1 13:11:11 2007 UTC

1/* 1/*
2 * libev event processing core, watcher management
3 *
2 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> 4 * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de>
3 * All rights reserved. 5 * All rights reserved.
4 * 6 *
5 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 8 * modification, are permitted provided that the following conditions are
489} 491}
490 492
491/*****************************************************************************/ 493/*****************************************************************************/
492 494
493void 495void
494ev_prefork (void) 496ev_fork_prepare (void)
495{ 497{
496 /* nop */ 498 /* nop */
497} 499}
498 500
499void 501void
500ev_postfork_parent (void) 502ev_fork_parent (void)
501{ 503{
502 /* nop */ 504 /* nop */
503} 505}
504 506
505void 507void
506ev_postfork_child (void) 508ev_fork_child (void)
507{ 509{
508#if EV_USE_EPOLL 510#if EV_USE_EPOLL
509 if (ev_method == EVMETHOD_EPOLL) 511 if (ev_method == EVMETHOD_EPOLL)
510 epoll_postfork_child (); 512 epoll_postfork_child ();
511#endif 513#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines