01:198:214 Lecture 5: Note_10_19_17
54 views1 pages
//-------Notes For Systems Programming 9/5/17--------\\
//-------Threads-------\\
Blocking Function Call: Will continue to run even after being desscheudled it
will resume upon you getting your run time back. (Does not return until it is
done)
Non-Bocking Function Call: Will run until you are descheduled and upon getting
more runtime they will return a value. (Returns on the next time your are
schedule to run and give you a status on how much you did).
Threads: Once created are given their own time to run
- Give a function its own stack in your process
(new 'thread of execution' .... i.e. thread)
pthread_join(pthread_t thread, void ** retval)
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document
This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.
Already have an account? Log in