[Libevent-users] Newbie Question - event_test.c hangs

Rakesh K Sinha rakesh_usenet at yahoo.com
Wed Jul 11 14:16:59 EDT 2007


Hi - 
  I am a newbie to libevent , interested in the same because I am writing an high-performance server that is supposed to take a lot of transaction hits per second. 
  I got the event test.c in the home page to get started. 
http://monkey.org/~provos/libevent/event-test.c

  I downloaded the latest version of libevent - 1.3a . Built the same. 

When I try to run the application - I am seeing the following . 

$ ./event-test
Write data to event.fifo
<and then the application hangs>

What is the sample application supposed to do ? Why would it hang on the event_dispatch() call at the end of main() . Am I missing something important here. Thanks for your help. 


My kernel version is 2.6+ . So I guess epoll is supported on my Linux box - Redhat EL. 

$ rpm -qa | grep kernel
kernel-ib-1.0-1
kernel-utils-2.4-13.1.83
kernel-2.6.9-42.0.0.0.1.EL








       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://monkeymail.org/archives/libevent-users/attachments/20070711/ad1f3916/attachment.htm


More information about the Libevent-users mailing list