Re: [gnet] gnet & threads?



You can use GNet and threads.  We just don't have an example showing this.
We should though - I'll add it to the TODO.

David



On 19 Nov 2002, Axel Bock wrote:

> Hi all,
>
> I am just developing some p2p server application which will have massive
> parallel data requests which are all querying some common data base in
> memory, which can and will change often.
>
> I always thought this is best done with implementing several threads,
> and up to now I thought gnet would just transparently use them. now I
> read in the example docs that thread use is not even implemented.
>
> now my question is: is a "normal" application able to handle such a
> traffic in a timely manner, or will I have performance problems? (I know
> threading is more overhead etc., but I guess you know my point ... :-)


-- 
      __          _    __ David Helder - dhelder umich edu
  ___/ /__ __  __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
 / _  / _ `/ |/ / / _  /  DiaWebLog: <http://www.diaweblog.org>
 |_,_/|_,_/|___/_/|_,_/   Paper CD Case: <http://www.papercdcase.com>




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