|
-
Apr 20th, 2006, 11:22 AM
#1
Thread Starter
Lively Member
Does IIS Support multithreading?
Hi,
Is multithreading supported in IIS (Windows XP version)?
How do we enable and manage multithreading in IIS?
-
Apr 20th, 2006, 11:57 AM
#2
Re: Does IIS Support multithreading?
You can write multithreading code, but it won't work, as web requests are asynchronous.
WHat did u want to do?
Woka
-
Apr 21st, 2006, 03:44 AM
#3
Thread Starter
Lively Member
Re: Does IIS Support multithreading?
I have to explore and learn how to use the multithreading facilities of IIS
-
Apr 21st, 2006, 03:55 AM
#4
Re: Does IIS Support multithreading?
Errr...it wont work. End of.
U can do multithreading in a Win32 app easily, but not in a web app.
Woka
-
Apr 22nd, 2006, 04:52 PM
#5
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
-
Apr 24th, 2006, 02:42 AM
#6
Re: Does IIS Support multithreading?
Hmmmm...this in 2003 too?
Do you have an example of this?
Woka
-
Apr 24th, 2006, 11:02 AM
#7
Re: Does IIS Support multithreading?
Yes, it has been supported since IIS 4 or 5.
No, I don't have any examples.
-
Apr 24th, 2006, 02:57 PM
#8
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
-
Apr 24th, 2006, 03:23 PM
#9
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)
-
Apr 24th, 2006, 09:23 PM
#10
Thread Starter
Lively Member
Re: Does IIS Support multithreading?
Does the IIS user interface provide threads management facilities?
e.g. Menu, toolbars,rightclick menus etc ?
-
Apr 25th, 2006, 07:31 AM
#11
Re: Does IIS Support multithreading?
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|