Worker Thread


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Worker Thread
# 1  
Old 09-20-2011
Error Worker Thread

Dear Techies,
I'm finding resource to learn worker thread with epoll mechanism, Can you anyone explain worker thread with your best example ?

Thanks in Advance
Sathya
# 2  
Old 09-20-2011
Gidday,

Quote:
Originally Posted by sthangav
Dear Techies,
I'm finding resource to learn worker thread with epoll mechanism, Can you anyone explain worker thread with your best example ?

Thanks in Advance
Sathya
The question is too rough to be answered precisely. Generally speaking, the following pattern is meant:
1) You have one thread that epoll() some I/O event
2) When some I/O becomes ready, a another thread (the worker) thread takes care of the I/O to carry out while the thread in 1) epoll() again for some I/O event.

That way, you can have multiple I/O progress at the same time.

If you tell us more about the problem you want to solve (as opposed how you want to solve it), we may come up with better answer.

Brgs,
/Lew
# 3  
Old 09-21-2011
Thanks Lew for your Inputs, i'm looking for a sample program to understand in depth in programming level

Thanks
Sathya
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. AIX

AIX wonder-worker

Hi Dears , Sometimes when I read about AIX in IBM world or when I try to see some jobs that are related to UNIX (any flavor) .....I wonder in myself if someone wanted to work in this field should know everything about script or that is not necessary , so If my friends in this fourm had a good... (3 Replies)
Discussion started by: arm
3 Replies
Login or Register to Ask a Question