Windows and Unix Threads and Fibers


 
Thread Tools Search this Thread
Top Forums Programming Windows and Unix Threads and Fibers
# 1  
Old 01-15-2005
Windows and Unix Threads and Fibers

In "Programming Applications for Microsoft Windows" (ISBN 1-57231-996-8) I read this in a chapter about Fibers:
Quote:
Microsoft added fibers to Windows to make it easy to port existing UNIX server applications to Windows. UNIX server applications are single-threaded (by the Windows definition) but can serve multiple clients. In other words, the developers of UNIX applications have created their own threading architecture library, which they use to simulate pure threads. This threading package creates multiple stacks, saves certain CPU registers, and switches among them to service the client requests.
What does it mean by that about Unix?
# 2  
Old 01-19-2005
I am not sure what they are talking about. And I am not sure what is that u want. I never heard about "fiber" before. Unix has very good POSIX threading structure.
http://www.llnl.gov/computing/tutori...eads/MAIN.html
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Monitoring Threads in unix

Hi All, I want to monitor threads of specific processes in mysql in Solaris 10. Is there any command to do it? (1 Reply)
Discussion started by: rohitmahambre
1 Replies

2. Programming

how can I get to know what threads run within process java.exe on windows

I am writing java application on windows. There are more than 100 threads run within java.exe. I want to know what threads run within process java.exe so that I can find out if there are abnormal java threads. (4 Replies)
Discussion started by: mika
4 Replies

3. Shell Programming and Scripting

Spawning multiple threads in Unix

Hi, I need to spawn mutilpe threads , each invoking a different set of shell scripts, in parallel. What would be the best way to do that. Any sample script would greatly help. I am a novice at Unix so any help is much appreciated. Thanks (5 Replies)
Discussion started by: neeto
5 Replies

4. Shell Programming and Scripting

Threads in Unix shell script

I need to run two different sql queries using two different threads in the same Unix shell script. I did not understand what do we mean by creating two different threads. Does it mean two different statements containing SQL queires in that unix script? (1 Reply)
Discussion started by: kum5256
1 Replies

5. Programming

synchronizing multiple threads in unix

hi all! I wanted to know how to synchronize multiple threads in unix It would be better if someone give some code samples Thanx (1 Reply)
Discussion started by: bankpro
1 Replies

6. UNIX for Advanced & Expert Users

Unix threads information

Hi, Can someone tell help me on how to know the threads statistics on a unix machine similar to memory statisitcs. I woule like to monitor the Number of threads per process and total number of threads that a system can accomodate. Thank you mrag (1 Reply)
Discussion started by: mrag74
1 Replies

7. HP-UX

how to see the threads count of a process in hp unix?

hi,all: how to see the threads count of a process in hp unix? thanks (2 Replies)
Discussion started by: bugbugbug
2 Replies
Login or Register to Ask a Question