I wanna know where could I get any goot tutorials on using fork() and stuff..I mean multi threading. I have never seen a tut on C about that. Can someone point me to the right direction please?
Thanks!
I wanna know where could I get any goot tutorials on using fork() and stuff..I mean multi threading. I have never seen a tut on C about that. Can someone point me to the right direction please?
Thanks!
and you probably won't either. read about it in the man pages or get source code for a program that uses it. You need to use google
http://www.google.com/search?hl=en&q...=Google+Search
SDL and Windows both have multithreading functions. Windows is very hard to use, so try the SDL if you want.
blackswan wants to know how to use multithreading, not which systems support it.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Well blackswan is going to have to specify which system he is working on.blackswan wants to know how to use multithreading, not which systems support it.
Basically, look at pthread_create() for linux or any other POSIX system, and _beginthread() or CreateThread() for Windows systems.
First Ill try this multithreading in Linux environment. But all I get searching google is some man pages. I want a tut. Or a book. I got B.W.Kerringan an Denis Ritche book-The C programing language (second edition) ,but threads are left out. I mean wtf? Maybe because the UNIX systems in those days didn't have multi threading support.
But like ancient dragon said. Im probably all alone with man pages...
Last edited by blackswan; 09-25-2005 at 05:08 PM.
Searching google's not hard
http://www.google.com/search?sourcei...mming+tutorial
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]