Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Comparison of threads in Windows and Unix

This is not strictly a .Net question. Since there is no forum to ask a general technical question, I decided to post it here.

In one of the sites I read that Windows supports threads "natively" while UNIX does not. I know that UNIX supports threading thru' the call "pthread_create".

I haven't done much UNIX programming. So I would like to know what is "native" support for threads. If someone can enunciate the differences between the two platforms, it would be great. Any pointers to further reading is also appreciated.

Thanks
Nathan

Nathan Arunachalam
Thursday, December 12, 2002

Try this Mark Russinovich (he of www.sysinternals.com fame) article:
http://www.win2000mag.com/Articles/?ArticleID=4500

Duncan Smart
Thursday, December 12, 2002

Native thread support maybe part of the OS or not depending on which version you use. If it is not native then some kind of emulation (in user space) will be used.

To read more than you ever wanted to know about threads try

http://science.kennesaw.edu/~bsetzer/3150sp02/Resources/mingw/POSIXMultithreadProgrammingPrimer.pdf

The presentation is biased to Solaris but should also apply to other *nixes and Win32.

Oliver Anhuth
Wednesday, December 18, 2002

*  Recent Topics

*  Fog Creek Home