Ignore:
Timestamp:
Nov 21, 2017, 1:30:00 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
9f10d1f2
Parents:
5f91d650
Message:

Ran ispell on the thesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/proposals/concurrency/text/together.tex

    r5f91d650 r07c1e595  
    77
    88\section{Threads as monitors}
    9 As it was subtely alluded in section \ref{threads}, \code{threads} in \CFA are in fact monitors, which means that all monitor features are available when using threads. For example, here is a very simple two thread pipeline that could be used for a simulator of a game engine :
     9As it was subtly alluded in section \ref{threads}, \code{threads} in \CFA are in fact monitors, which means that all monitor features are available when using threads. For example, here is a very simple two thread pipeline that could be used for a simulator of a game engine :
    1010\begin{cfacode}
    1111// Visualization declaration
     
    2020void draw( Renderer & mutex this, Frame * frame );
    2121
    22 // Simualation loop
     22// Simulation loop
    2323void main( Simulator & this ) {
    2424        while( true ) {
     
    4949void draw( Renderer & mutex this, Frame * frame );
    5050
    51 // Simualation loop
     51// Simulation loop
    5252void main( Simulator & this ) {
    5353        while( true ) {
     
    7878
    7979\section{Fibers \& Threads}
    80 As mentionned in section \ref{preemption}, \CFA uses preemptive threads by default but can use fibers on demand. Currently, using fibers is done by adding the following line of code to the program~:
     80As mentioned in section \ref{preemption}, \CFA uses preemptive threads by default but can use fibers on demand. Currently, using fibers is done by adding the following line of code to the program~:
    8181\begin{cfacode}
    8282unsigned int default_preemption() {
Note: See TracChangeset for help on using the changeset viewer.