You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _weave/lecture05/parallelism_overview.jmd
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Each process can have many compute threads. These threads are the unit of
47
47
execution that needs to be done. On each task is its own stack and a virtual
48
48
CPU (virtual CPU since it's not the true CPU, since that would require that the
49
49
task is ON the CPU, which it might not be because the task can be temporarily
50
-
haulted). The kernel of the operating systems then *schedules* tasks, which
50
+
halted). The kernel of the operating systems then *schedules* tasks, which
51
51
runs them. In order to keep the computer running smooth, *context switching*,
52
52
i.e. changing the task that is actually running, happens all the time. This is
53
53
independent of whether tasks are actually scheduled in parallel or not.
@@ -82,7 +82,7 @@ be polled, then it will execute the command, and give the result. There are two
82
82
variants:
83
83
84
84
- Non-Blocking vs Blocking: Whether the thread will periodically poll for whether that task is complete, or whether it should wait for the task to complete before doing anything else
85
-
- Synchronous vs Asynchronus: Whether to execute the operation as initiated by the program or as a response to an event from the kernel.
85
+
- Synchronous vs Asynchronous: Whether to execute the operation as initiated by the program or as a response to an event from the kernel.
86
86
87
87
I/O operations cause a *privileged context switch*, allowing the task which is
88
88
handling the I/O to directly be switched to in order to continue actions.
@@ -117,7 +117,7 @@ a higher level interrupt which Julia handles the moment the safety locks says
117
117
it's okay (these locks occur during memory allocations to ensure that memory
118
118
is not corrupted).
119
119
120
-
#### Asynchronus Calling Example
120
+
#### Asynchronous Calling Example
121
121
122
122
This example will become more clear when we get to distributed computing, but
123
123
for think of `remotecall_fetch` as a way to run a command on a different computer.
0 commit comments