.NET threadpool is full

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mario

    .NET threadpool is full

    Hi, every one. Maybe some can help me.

    I'm implement a threading socket server in an array
    thread pool but when the server is using all the thread
    the clients can't connect to my server. a.k . my server
    don't continue looking for on the .NET poolthread. I don't
    know why ?

    Mario

  • David Browne

    #2
    Re: .NET threadpool is full


    "Mario" <mreiley@cantv. net> wrote in message
    news:02c101c3a8 80$011a31c0$a30 1280a@phx.gbl.. .[color=blue]
    > Hi, every one. Maybe some can help me.
    >
    > I'm implement a threading socket server in an array
    > thread pool but when the server is using all the thread
    > the clients can't connect to my server. a.k . my server
    > don't continue looking for on the .NET poolthread. I don't
    > know why ?
    >[/color]

    You should probably dedicate a non-pool thread for your listener.
    On that thread do blocking IO, and when you accept a connection queue the
    connection for a pool thread and go right back to blocking.

    David


    Comment

    Working...