[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] close not captured with strace for sockets created using BEV_OPT_CLOSE_ON_FREE



On Mon, Feb 01, 2016 at 11:57:23AM +0530, girish kumar wrote:
> Hi Azat,
> 
> Thanks a ton for your reply.
> 
> As mentioned in the post, I created multi threaded server using pthreads
> and the strace command I am using is
> # strace -p <pid> -o /tmp/strace_out

You close(2) can be called not from the main thread, and in this case
you need to use the following strace command:
$ strace -f <your_options>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.