-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOne-problems
More file actions
17 lines (15 loc) · 970 Bytes
/
One-problems
File metadata and controls
17 lines (15 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
1. join() segfaults -- function header
When we run join, we do not get the expected behavior. We believe that this is because of the function header, and in class, Bill mentioned that we'll need a double pointer to our thread struct. what does this mean?
2. malloc() did not allocate memory
When we first called my_pthread_create(), we would try to allocate some memory (~line 73). We would not get any memory back, and the program would segfault. Any reason for this?
* This doesn't happen on the iLab machines.
3. mutex locks
Same as 6 I think?
4. yield()
5. maintenance cycle
How should this be implemented?
6. Mutex announcement code
We couldn't find it. Where is it?
What is the best way to approach the next project?
What is the best way to design the abstraction of the page?
Pages would be swapped in and out of the 8MB memory, right? So when we malloc, we are mallocing inside a specific page first, then going to a new page if the first page is full?