Results 1 to 11 of 11

Thread: Does IIS Support multithreading?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    108

    Red face Does IIS Support multithreading?

    Hi,

    Is multithreading supported in IIS (Windows XP version)?

    How do we enable and manage multithreading in IIS?

  2. #2

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    108

    Re: Does IIS Support multithreading?

    I have to explore and learn how to use the multithreading facilities of IIS


  4. #4

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Does IIS Support multithreading?

    IIS does support multithreading, but it is quite different from what you might have done on win apps. Just make sure you make your threads isolated and thread safe and avoid any 'extravagancies' like global variables

  6. #6

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Does IIS Support multithreading?

    Yes, it has been supported since IIS 4 or 5.

    No, I don't have any examples.

  8. #8
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,633

    Re: Does IIS Support multithreading?

    Hmm I am intregued at this.

    Say I start 2 threads, which run along side my main calling thread. Is there some kind of marshalling that happens to prevent the main thread returning until the other 2 threads I created finish?

    Or does the main thread return a response to IE, and then keep running the 2 threads in the background on the server???



    Wooof

  9. #9
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: Does IIS Support multithreading?

    Look up Web services. They support threading natively.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    108

    Re: Does IIS Support multithreading?

    Does the IIS user interface provide threads management facilities?

    e.g. Menu, toolbars,rightclick menus etc ?

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: Does IIS Support multithreading?

    Quote Originally Posted by Wokawidget
    Hmm I am intregued at this.

    Say I start 2 threads, which run along side my main calling thread. Is there some kind of marshalling that happens to prevent the main thread returning until the other 2 threads I created finish?
    If you're getting IIS to handle it, then you don't manage it, IIS will handle it. And if IIS handles it, I believe it will run fine as long as there is no interaction between them.

    If you're handling the threading yourself through an ISAPI class library say, then the control is entirely up to you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width