Afficher un message
Vieux 20/10/2007, 04h26   #2
Jack Klein
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: libreadline in multithreaded enviornment

On Fri, 19 Oct 2007 06:25:08 -0000, hankypan1@gmail.com wrote in
comp.lang.c:

> 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
  Réponse avec citation
 
Page generated in 0,04756 seconds with 9 queries