Thanks Thomas. That works for me.
----- Original Message ---- From: Thomas Lindgren <[EMAIL PROTECTED]> To: Rakesh K Sinha <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2007 2:15:47 PM Subject: Re: [Libevent-users] Newbie Question - event_test.c hangs On 7/11/07, Rakesh K Sinha <[EMAIL PROTECTED]> wrote: 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. Here's what I did: $ cat > event.fifo foo bar $ and (in another window): $ ./event-test Write data to event.fifo fifo_read called with fd: 3, event: 2, arg: 0xbfb5f088 Read: foo fifo_read called with fd: 3, event: 2, arg: 0xbfb5f088 Read: bar Hope this helps. Best, Thomas ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users