libreadline in multithreaded enviornment

H

hankypan1

Hi,

I want to develop an application which is multithreaded. Each thread
is waiting on a socket stream for input and then process that input
like a cli interface. libreadine use makes my computing quite easy but
i am not able to get anyway in which i can define different input
stream for libreadline in each thread in the same process and then use
libreadline like that.

Is there any solution for this ?

Regards
- Amit
 
J

Jack Klein

Hi,

I want to develop an application which is multithreaded. Each thread
is waiting on a socket stream for input and then process that input
like a cli interface. libreadine use makes my computing quite easy but
i am not able to get anyway in which i can define different input
stream for libreadline in each thread in the same process and then use
libreadline like that.

Is there any solution for this ?

The solution is to ask in a group that supports your compiler/operting
system combination. None of multithreading, sockets, processes, or
libreadline are part of the C language or library. They are platform
specific extensions.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top