Discuss how threads are created and managed using thread libraries.Also discuss thread life cycle.
1.Pthreads
2.Win32 Threads
3.Java threads
POSIX Threads Operations:
1.Creating a thread and initialize a thread
2.Wait for a thread-Thread Join
3.Detaching a thread
4.Create and Delete a key for TSD[Thread Specific Data]
5.Thread IDs--Getting and Comparing
6.Thread Yield
7.Thread Priority
8.Signalling a thread
9.Terminate a thread
Useful Links:
http://www.cs.cf.ac.uk/Dave/C/node29.html
1.Pthreads
2.Win32 Threads
3.Java threads
POSIX Threads Operations:
1.Creating a thread and initialize a thread
2.Wait for a thread-Thread Join
3.Detaching a thread
4.Create and Delete a key for TSD[Thread Specific Data]
5.Thread IDs--Getting and Comparing
6.Thread Yield
7.Thread Priority
8.Signalling a thread
9.Terminate a thread
Useful Links:
http://www.cs.cf.ac.uk/Dave/C/node29.html
http://www.linuxjournal.com/article/3184?page=0,0
ReplyDelete