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

Re: [Libevent-users] Multi-threaded support in libevent



I sent email to libevent-users@xxxxxxxx after authenticating user

On Thu, Feb 23, 2017 at 10:46 AM, kushal bhattacharya <bhattacharya.kushal4@xxxxxxxxx> wrote:
hi loan Ton,
Could you please tell me how sis you initiate this conversation actually i have trying hard to post my issue in the mailing list
Thanks,
Kushal

On Thu, Feb 23, 2017 at 3:01 PM, Tôn Loan <loanttk.vnuit@xxxxxxxxx> wrote:

Hello list,

I'm new to libevent and trying to learn some more about it for potential use in a project. Here is my problem.

I have one server that has 5 threads. Each thread bounds to a different UDP
port (separate socket). Each thread listens on separate socket and receive
the message from client.
I used each event_base for each thread and added signal events to each
event_bases But only one event_base will receive signals.

So, is there any solution for each event_base that will receive its own
signals?
Any ideas or sample code would be extremely helpful. Thank you so much.

Best Regards,
Loan Ton