source: libcfa/src/concurrency/preemption.hfa @ 909aebf

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 909aebf was 73abe95, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Replace extension-less headers with .hfa

  • Property mode set to 100644
File size: 839 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// preemption.hfa --
8//
9// Author           : Thierry Delisle
10// Created On       : Mon Jun 5 14:20:42 2017
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Fri Mar 23 17:18:53 2018
13// Update Count     : 2
14//
15
16#pragma once
17
18#include "alarm.hfa"
19#include "kernel_private.hfa"
20
21void kernel_start_preemption();
22void kernel_stop_preemption();
23void update_preemption( processor * this, Duration duration );
24
25struct preemption_scope {
26        alarm_node_t alarm;
27        processor * proc;
28};
29
30void ?{}( preemption_scope & this, processor * proc );
31void ^?{}( preemption_scope & this );
32
33// Local Variables: //
34// mode: c //
35// tab-width: 4 //
36// End: //
Note: See TracBrowser for help on using the repository browser.