CSC209H1 Lecture Notes - Signal (Ipc), Job Control (Unix), Function Pointer

54 views3 pages
25 Apr 2013
School
Course
Professor

Document Summary

// call the function that f points to printf (%dn, (*f)(5)); Unexpected/unpredictable asynchronous events: floating point error, death of a child, interval timer expired (alarm clock, terminate, suspend, quit and kill a process. Events are called interrupts: when the kernel recognizes an event, it sends a signal to the process, normal processes may send signals. For of communications btwn processes: when a program forks into 2 or more processes, rarely do they execute independently, ex. 2 develop a map function that takes an array of integers and a. Compar is a pointer to a comparison function for the elements to be sorted. Just give a pointer to a function like strcmp. Similar to bserach() for binary search often handled by signals. To transfer data between processes, we will use pipes and sockets: signals are generated by. The program itself, other programs or the user.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents