Real-Time Java: LAB #2 RealTime Threads: Scheduling & Release Models
|
|
- Denis Grant
- 5 years ago
- Views:
Transcription
1 Real-Time Java: LAB #2 RealTime Threads: Scheduling & Release Models The goal of this lab is to learn how to use the two types of RTSJ schedulable entities: RealtimeThread and AsyncEventHandler and to understand their release(activation) and scheduling models. Exercise 1. The creation of a real-time thread. In this exercise you will create a single oneshot real-time thread using the RTSJ RealtimeThread class. The cost of the task corresponds to the duration of the execution of the run() method. You will affect a priority value of 15 to the thread T1 (using the PriorityParameters class). The just executes 3 loops. It is important to observe and note the real duration of this execution. Question: Could such a thread be qualified as a real-time thread? public class OneRTT { public static final int NB_IT = ; RealtimeThread t1 = new RealtimeThread(new PriorityParameters(15)) { RConsole.println("Enter in thread1!"); RConsole.println(«Context Switch Delay: "+ Long.toString(start1-deb) ); ; RConsole.println(«Starting T1 at: " + Long.toString(start1-deb)); RConsole.println(«Duration of T1 : " + Long.toString(end1-start1)); RConsole.println(" end of T1 *"); RConsole.println(«Starting»); t1.start(); Page 1
2 try { t1.join(7000); catch (InterruptedException ie) {; RConsole.close(); Exercise 2. Creation of a Periodic realtime thread. You will modify the creation of the real-time thread T1 to add a PeriodicParameters object. This object is used to set: Offset, Period, Cost, Deadline of the new thread. Run the program and observe its real duration and its real period. do { Bla bla bla while (waitfornextperiod()); Question: Do the observed values match the set values? Question: Do the observed values match the set values? Question: What is the LejosRT behavior associated to a CostOverrun fault and to a DeadlineMISS failure? public class OneRTTPeriodic { public static final int NB_IT = ; RealtimeThread t1 = new RealtimeThread(new PriorityParameters(15),new PeriodicParameters( new RelativeTime(0,0), /* OFFSET */ new RelativeTime(5000,0), /* PERIOD */ new RelativeTime(2000,0), /* COST */ new RelativeTime(5000,0), /* DEADLINE */ null, null)) { int i=0; do{ RConsole.println("Entering 1!!!!!!!"); RConsole.println("Delai de preemption : "+ Long.toString(start1-(deb+i*5000)) ); RConsole.println("Starting 1 : " + Long.toString(start1-deb)); RConsole.println(«Duration of 1 : " + Long.toString(end1-start1)); i++; RConsole.println(«Ending 1 *******"); while(waitfornextperiod() && i<3); ; RConsole.println("Debut"); Page 2
3 t1.start(); try { t1.join(20000); catch (InterruptedException ie) {; RConsole.close(); Exercise 3. The scheduling of two periodic realtime threads 1. The two threads are executed at the same priority level. You will create 2 periodic real-time threads with the same Priority (15), Cost (5000 ms), Period (5000ms) and relative Deadline (50000 ms). What is the Scheduling Policy in this case? 1. The two threads are started at different times and executed at different priority levels. See the task values in the following table. What is the Scheduling Policy in this case? Do you observe the preemption phenomenon? Task Priority Activation Time Cost Period Deadline Tau Tau Exercise 4. Driving a Motor and a Wheel This exercice is a a concrete approach for a periodic real-time task. Take a motor and a wheel. Imagine the wheel is used to move a Robot. The movement is periodic, the Robot move forward for 2 meters each 10seconds. To implement that behavior you need a periodic real-time thread. You need to use the MotorPort class. Page 3
4 The Tachometer is an instrument measuring the rotation of a wheel. The gettachocount() method returns the number of degrees of rotation of the wheel. You must reset the Tachometer before you use it. MotorPort.A.resetTachoCount(); The controlmotor() method is used to start the motor. Two parameters: POWER (0-100) and FUNCTION (1=Forward; 2=Backward; 3=Stop). In the following exemple the motor starts and run until the wheel achieves 10 rotations. MotorPort.A.controlMotor(100, 1); while (MotorPort.A.getTachoCount() <= 3600) { MotorPort.A.controlMotor(0, 3); Question: what is the cost of the thread? Question: what s happen if you reduce the power of the motor? Exercise 5. Creation of an Event Driven Entity (AsyncEventHandler). In this exercise you will create a periodic real-time thread. You create an asynchronous event (ASYNCEVENT) Dans cet exercice, vous allez créer une tâche périodique et une tâche apériodique de priorité plus élevée. La tâche apériodique sera activée par la tâche périodique (au milieu de l exécution de cette dernière). Vous allez observer la préemption de la tâche périodique par la tâche apériodique. L activation de la tâche apériodique se fait via un appel a la méthode fire() sur un objet Event. Le ou les handlers associés (addhandler()) est ou sont activés. Les handlers seront exécutés en respect de leur priorité. To use an AsyncEventHandler: 1. Create an AsyncEvent 2. Create an AsyncEventHandler 3. Associate the Handler with the Event 4. Fire the Event (the Handler will be activated). import lejos.nxt.comm.*; import lejos.realtime.*; import lejos.nxt.*; public class ThrAperiod { public static final int NB_IT = ; public static long start2; public static long end2; public static AsyncEventHandler a; public static AsyncEvent aeh; Page 4
5 a = new AsyncEventHandler(){ public void handleasyncevent(){ RConsole.println("Entering the handler!»); start2=system.currenttimemillis(); RConsole.println(«Handler execution starts at : "+(start2-deb) +" du debut. "); ; end2=system.currenttimemillis(); RConsole.println(«Handler Duration : " + Long.toString(end2-start2)); RConsole.println(«End of the Handler "); a.setschedulingparameters(new PriorityParameters(25)); ae= new AsyncEvent(); ae.addhandler(a); RealtimeThread t1 = new RealtimeThread(new PriorityParameters(15),new PeriodicParameters( new RelativeTime(0,0), new RelativeTime(6000,0), new RelativeTime(2000,0), new RelativeTime(6000,0), null, null)) { ; int i=0; do{ RConsole.println(«Entering thread 1!"); ae.fire(); RConsole.println("Starting 1 : " + Long.toString(start1-deb)); RConsole.println(«Duration of 1 : " + Long.toString(end1-start1)); i++; RConsole.println(«End of 1 *******"); while(waitfornextperiod() && i<3); RConsole.println(«Starting Main"); t1.start(); try { Thread.sleep(1000); catch (InterruptedException ex) {; t1.join(10000); Question: Could such a Handler be qualified as a real-time Handler? Question: You modify the priority of the Handler from 25 to 12. What s happen? Exercise 6. Creation of a CostOverrunHander Apply the preceeding technic to create a CostOverrunHandler and associate it to the MotorThread. The CostOverrun handler will stop the wheel when a costoverrun event occurs. To generate the costoverrun event slow down the wheel (or block it). Page 5
Real-Time Systems: From theory to application Using the Java Language
Real-Time Systems: From theory to application Using the Java Language Serge MIDONNET Serge.Midonnet@univ-paris-est.fr Ten Year Edition, 2017 1 outline Lesson 1: Motivation : RealTime & the Java Language
More informationUsing the Executor Framework to Implement AEH in the RTSJ
Using the Executor Framework to Implement AEH in the RTSJ Table of Contents MinSeong Kim & Andy Wellings Role of AEH in the RTSJ AEH Facility in the RTSJ Implementation Discussion Limitations of AEH The
More informationConcurrent and Real-Time Programming in Java
064202 Degree Examinations 2004 DEPARTMENT OF COMPUTER SCIENCE Concurrent and Real-Time Programming in Java Time allowed: One and one half (1.5) hours Candidates should answer two questions only. An appendix
More informationThe Real-time Specification for Java
The Real-time Specification for Java Roadmap Overview of the RTSJ Memory Management Clocks and Time Scheduling and Schedulable Objects Asynchronous Events and Handlers Real-Time Threads Asynchronous Transfer
More informationReal-Time Java. Martin Schöberl
Real-Time Java Martin Schöberl Overview What are real-time systems Real-time specification for Java RTSJ issues, subset Real-time profile Open question - GC Real Time Java 2 History of (Real-Time) Java
More informationEmpirical Analysis of Real-Time Java Performance and Predictability
Empirical Analysis of Real-Time Java Performance and Predictability Angelo Corsaro and Douglas C. Schmidt {corsaro, schmidt}@ }@ece.uci.edu Electrical and Computer Engineering Dept. University of California,
More informationAssignment 5: Lustre and Real-time Java
Assignment 5: Lustre and Real-time Java 1DT056: Programming Embedded Systems Uppsala University February 23rd, 2012 You can achieve a maximum number of 20 points in this assignment. 12 out of the 20 points
More informationThe Design of a Real-Time Event Manager Component
The Design of a Real-Time Event Manager Component Damien Masson Université Paris-Est LIGM, UMR CNRS 8049 ESIEE Paris 2 boulevard Blaise Pascal BP 99 93162 Noisy-le-Grand CEDEX d.masson@esiee.fr Serge Midonnet
More information5. Enterprise JavaBeans 5.3 Entity Beans. Entity Beans
Entity Beans Vue objet d une base de données (exemples: client, compte, ) en général, une ligne d une table relationnelle (SGBD-R) ou un objet persistant (SGBD- OO) sont persistant (long-lived) la gestion
More informationTutorial :.Net Micro Framework et.net Gadgeteer
1 Co-développement émulateur personnalisé et application pour une cible. 1.1 Utilisation d un émulateur personnalisé Après l installation du SDK.Net Micro, dans le répertoire d exemples, Framework (ex.
More informationPerformance Evaluation of Java Architectures in Embedded Real-Time Systems
Performance Evaluation of Java Architectures in Embedded Real-Time Systems Carlos Eduardo Pereira, Fernando Henrique Ataide, Guilherme Oliveira Kunz Federal University of Rio Grande do Sul Electrical Engineering
More informationReal-Time Java David Holmes
Real-Time Java David Holmes Senior Java Technologist Java SE VM Real-Time Group Sun Microsystems 1 What is Real-Time? Simple definition: The addition of temporal constraints to the correctness conditions
More informationMission Modes for Safety Critical Java
Mission Modes for Safety Critical Java Martin Schoeberl Institute of Computer Engineering Vienna University of Technology, Austria mschoebe@mail.tuwien.ac.at Abstract. Java is now considered as a language
More informationAnalyse statique de programmes avioniques
June 28th 2013. Forum Méthodes Formelles Cycle de conférences: Analyse Statique : «Retour d expériences industrielles» Analyse statique de programmes avioniques Presenté par Jean Souyris (Airbus Opérations
More informationModel Checking Real Time Java --- Wrap Up Report. Review Motivation and approach. RTSJ implementation strategy In pure Java Exploiting JPF
Model Checking Real Time Java --- Wrap Up Report NASA Ames Research Center Robust Software Systems Group Gary Lindstrom Willem Visser Peter C. Mehlitz Outline Review Motivation and approach RTSJ implementation
More informationProceedings of Seminar on Real-Time Programming
Helsinki University of Technology Department of Computer Science and Engineering Laboratory of Information Processing Science Espoo 2004 TKO-C93/04 Proceedings of Seminar on Real-Time Programming Vesa
More informationJava et Mascopt. Jean-François Lalande, Michel Syska, Yann Verhoeven. Projet Mascotte, I3S-INRIA Sophia-Antipolis, France
Java et Mascopt Jean-François Lalande, Michel Syska, Yann Verhoeven Projet Mascotte, IS-INRIA Sophia-Antipolis, France Formation Mascotte 09 janvier 00 Java Java et Mascopt - Formation Mascotte 09 janvier
More informationSunVTS Quick Reference Card
SunVTS Quick Reference Card Sun Microsystems, Inc. www.sun.com Part No. 820-1672-10 September 2007, Revision 01 Submit comments about this document at: http://www.sun.com/hwdocs/feedback Copyright 2007
More informationReal-Time Software. Exceptions and Low-level Programming. René Rydhof Hansen. 2 November 2010
Real-Time Software Exceptions and Low-level Programming René Rydhof Hansen 2 November 2010 TSW (2010e) (Lecture 13) Real-Time Software 2 November 2010 1 / 35 Today s Goals Exceptions and Exception Handling
More informationProject. Threads. Plan for today. Before we begin. Thread. Thread. Minimum submission. Synchronization TSP. Thread synchronization. Any questions?
Project Threads Synchronization Minimum submission Deadline extended to tonight at midnight Early submitters 10 point bonus TSP Still due on Tuesday! Before we begin Plan for today Thread synchronization
More informationReal Time: Understanding the Trade-offs Between Determinism and Throughput
Real Time: Understanding the Trade-offs Between Determinism and Throughput Roland Westrelin, Java Real-Time Engineering, Brian Doherty, Java Performance Engineering, Sun Microsystems, Inc TS-5609 Learn
More informationKnowledge Engineering Models and Tools for the Digital Scholarly Publishing of Manuscripts
Knowledge Engineering Models and Tools for the Digital Scholarly Publishing of Manuscripts Semantic Web for the Digital Humanities Sahar Aljalbout, Giuseppe Cosenza, Luka Nerima, Gilles Falquet 1 Cultural
More informationProgramming with Non-Heap Memory in the Real Time Specification for Java
Programming with Non-Heap Memory in the Real Time Specification for Java Greg Bollella 1, Tim Canham 2, Vanessa Carson 2, Virgil Champlin 3, Daniel Dvorak 2, Brian Giovannoni 3, Mark Indictor 2, Kenny
More informationMardi 3 avril Epreuve écrite sur un document en anglais
C O L L E CONCOURS INTERNE ET EXTERNE DE TECHNICIEN DE CLASSE NORMALE DES SYSTEMES D INFORMATION ET DE COMMUNICATION Ne pas cacher le cadre d identité. Cette opération sera réalisée par l administration
More informationIBM MQ version CD
Guide MQ 27/03/2018 IBM MQ version 9.0.5 CD Luc-Michel Demey Demey Consulting LMD@Demey-Consulting.fr Version 0.01 Mars 2018 Rappels MQ 904 MQ 9 CD disponible sur AIX à partir de MQ 904 Nouvelle solution
More informationUE 2I002 (ex LI230) : éléments de programmation par objets avec Java TD10 - Exceptions
UE 2I002 (ex LI230) : éléments de programmation par objets avec Java TD10 - Exceptions Juliana Silva Bernardes juliana.silva_bernardes@upmc.fr http://www.lcqb.upmc.fr/julianab/teaching/java/ Sumary Exceptions
More informationSummary. Ø Introduction Ø Project Goals Ø A Real-time Data Streaming Framework Ø Evaluations Ø Conclusions
Summary Ø Introduction Ø Project Goals Ø A Real-time Data Streaming Framework Ø Evaluations Ø Conclusions Introduction Java 8 has introduced Streams and lambda expressions to support the efficient processing
More informationCPSC 213. Introduction to Computer Systems. Reading. Thread. The Virtual Processor. Virtual Processors. Unit 2b. Text. An abstraction for execution
Reading Text CPSC 213 2ed: 12.3 1ed: 13.3 Introduction to Computer Systems Unit 2b Virtual Processors The Virtual Processor 1 Thread 2 Originated with Edsger Dijkstra in the THE Operating System in The
More informationChair of Software Engineering. Java and C# in Depth. Prof. Dr. Bertrand Meyer. Exercise Session 8. Nadia Polikarpova
Chair of Software Engineering Java and C# in Depth Prof. Dr. Bertrand Meyer Exercise Session 8 Nadia Polikarpova Quiz 1: What is printed? (Java) class MyTask implements Runnable { «Everything is ok! public
More informationContents. 6-1 Copyright (c) N. Afshartous
Contents 1. Classes and Objects 2. Inheritance 3. Interfaces 4. Exceptions and Error Handling 5. Intro to Concurrency 6. Concurrency in Java 7. Graphics and Animation 8. Applets 6-1 Copyright (c) 1999-2004
More informationVLANs. Commutation LAN et Wireless Chapitre 3
VLANs Commutation LAN et Wireless Chapitre 3 ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectifs Expliquer le rôle des VLANs dans un réseau convergent. Expliquer le rôle
More informationRavenscar-Java: A High Integrity Profile for Real-Time Java
Ravenscar-Java: A High Integrity Profile for Real-Time Java Jagun Kwon, Andy Wellings, and Steve King Department of Computer Science University of York, UK jagun, andy, king@cs.york.ac.uk York Technical
More informationTDDB84: Lecture 5. Singleton, Builder, Proxy, Mediator. fredag 27 september 13
TDDB84: Lecture 5 Singleton, Builder, Proxy, Mediator Creational Abstract Factory Singleton Builder Structural Composite Proxy Bridge Adapter Template method Behavioral Iterator Mediator Chain of responsibility
More informationA Real-Time RMI Framework for the RTSJ
A Real-Time RMI Framework for the RTSJ Andrew Borg aborg@cs.york.ac.uk Department of Computer Science The University Of York, UK Abstract The Real-Time Specification for Java (RTSJ) provides a platform
More informationIntroduction to Real Time Java. Deniz Oğuz. Initial: Update:
Introduction to Real Time Java Deniz Oğuz Initial:22.06.2008 Update:05.12.2009 Outline What is Real-time? What are the problems of Java SE? Real-Time Linux Features of RTSJ (Real Time Specification for
More informationTP 2 : Application SnapTchat 20 février 2015
TP 2 : Application SnapTchat 20 février 2015 SnapTchat : cahier de charges L objectif de ce TP est de développer une simple application d échange de messages courts entre deux utilisateurs. Le cahier des
More informationINF 2005 Programmation orientée objet avec C++
INF 2005 Programmation orientée objet avec C++ Module 5 - Solutions 1. #include #include double *s_ltab; long ltab_n; void Sommation(double b) double l1b = 1.0 / log(b); double s = 1.0;
More informationLVB-2 INSTRUCTION SHEET. Leakage Current Verification Box
LVB-2 INSTRUCTION SHEET Leakage Current Verification Box V 1.02 1.2018 DECLARATION OF CONFORMITY Manufacturer: Address: Product Name: Model Number: Associated Research, Inc. 13860 W. Laurel Dr. Lake Forest,
More information--- For a screen 1,196 x 1,196 x 50 mm Equivalent absorption area for an object A (m 2 )
1-2. Stereo screens Stereo screens may be suspended from the ceiling at various heights or mounted on a freestanding base and are designed to provide a high level of sound absorption for large open spaces.
More informationCMSC 132: Object-Oriented Programming II
CMSC 132: Object-Oriented Programming II Synchronization in Java Department of Computer Science University of Maryland, College Park Multithreading Overview Motivation & background Threads Creating Java
More informationTD : Compilateur ml2java semaine 3
Module 4I504-2018fev TD 3 page 1/7 TD : Compilateur ml2java semaine 3 Objectif(s) 22 février 2018 Manipulation d un traducteur de code ML vers Java. 1 ML2Java Exercice 1 Structure du runtime 1. Déterminer
More informationInterrupts and Time. Real-Time Systems, Lecture 5. Martina Maggio 28 January Lund University, Department of Automatic Control
Interrupts and Time Real-Time Systems, Lecture 5 Martina Maggio 28 January 2016 Lund University, Department of Automatic Control Content [Real-Time Control System: Chapter 5] 1. Interrupts 2. Clock Interrupts
More informationTutorial 3: Shortest path Artificial Intelligence
Tutorial 3: Shortest path Artificial Intelligence G.Guérard Les étudiants doivent faire des groupes de 3-4 afin de faire un brainstorming pour chaque exercice. Il n est pas demandé aux étudiants d avoir
More informationInterrupts and Time. Interrupts. Content. Real-Time Systems, Lecture 5. External Communication. Interrupts. Interrupts
Content Interrupts and Time Real-Time Systems, Lecture 5 [Real-Time Control System: Chapter 5] 1. Interrupts 2. Clock Interrupts Martina Maggio 25 January 2017 Lund University, Department of Automatic
More informationEmbedded Systems Programming
Embedded Systems Programming Overrun Management (Module 23) Yann-Hang Lee Arizona State University yhlee@asu.edu (480) 727-7507 Summer 2014 Imprecise computation Overrun Management trades off precision
More informationUser-Defined Clocks in the Real-Time Specification for Java
User-Defined Clocks in the Real-Time Specification for Java ABSTRACT Andy Wellings Department of Computer Science University of York, UK andy@cs.york.ac.uk This paper analyses the new user-defined clock
More informationExercise Session Week 8
Chair of Software Engineering Java and C# in Depth Carlo A. Furia, Marco Piccioni, Bertrand Meyer Exercise Session Week 8 Quiz 1: What is printed? (Java) class MyTask implements Runnable { public void
More informationFormation. Application Server Description du cours
Formation Application Server 2017 Description du cours Formation Application Server 2017 Description Cette formation d une durée de 5 jours aborde les concepts de l infrastructure logicielle System Platform
More informationThreads Chate Patanothai
Threads Chate Patanothai Objectives Knowing thread: 3W1H Create separate threads Control the execution of a thread Communicate between threads Protect shared data C. Patanothai Threads 2 What are threads?
More informationPlanning Premier Workshops de Septembre 2018 à Juin 2019 Microsoft Services Edition Juillet 2018
Planning Premier Workshops de Septembre 2018 à Juin 2019 Microsoft Services Edition Juillet 2018 Vous trouverez ci-dessous la liste de nos formations disponibles à ce jour. D autres sessions viendront
More informationThe Design and Performance of Real-time Java Middleware
The Design and Performance of Real-time Java Middleware Angelo Corsaro and Douglas C. Schmidt Electrical and Computer Engineering Department University of California, Irvine, CA 92697 fcorsaro, schmidtg@ece.uci.edu
More informationSunVTS Quick Reference Card
SunVTS Quick Reference Card Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. 650-960-1300 Part No. 806-6519-10 January 2001, Revision A Send comments about this document to:
More informationSun Fire High-End Server Systems Hold-down Kit
Sun Fire High-End Server Systems Hold-down Kit This document describes how to update the doors and bolt high-end server systems to the floor. Installing the Door Restraint brackets (4-Door Systems Only)
More informationSingle processor CPU. Memory I/O
Lec 17 Threads Single processor CPU Memory I/O Multi processes Eclipse PPT iclicker Multi processor CPU CPU Memory I/O Multi-core Core Core Core Core Processor Memory I/O Logical Cores Multi-threaded
More informationThe new Real-Time Specification for Java
JSR 282 BoF The new Real-Time Specification for Java Dr. James J. Hunt JSR 282 Spec Lead JavaOne September 2014 What is the RTSJ? Support for realtime programming in Java importance vs fair scheduling
More informationSales flow. Creation of a lead until the payment and the reminder through the consultation of the stock
Sales flow - Creation of a lead until the payment and the reminder through the consultation of the stock This flow requires the installation of CRM/Sales/Stocks/Invoicing/Accounting/Supply Chain applications
More informationBenchmark of Real-Time Java implementations
CZECH TECHNICAL UNIVERSITY IN PRAGUE Faculty of Electrical Engineering Department of Control Engineering Benchmark of Real-Time Java implementations Diploma Thesis Bc. Michal Janoušek Vedoucí práce: Ing.
More informationMicro Project. Chantal Taconet, Denis Conan and Sophie Chabridon. Revision : 545
Micro Project Chantal Taconet, Denis Conan and Sophie Chabridon Revision : 545 1 Contents 1 Introduction to the case study 3 2 VlibTour use cases 3 2.1 Use cases: management of tours and POI......................
More informationExercise Session Week 8
Chair of Software Engineering Java and C# in Depth Carlo A. Furia, Marco Piccioni, Bertrand Meyer Exercise Session Week 8 Java 8 release date Was early September 2013 Currently moved to March 2014 http://openjdk.java.net/projects/jdk8/milestones
More informationCompilation TP 0.0 : The target architecture: Digmips
Compilation TP 0.0 : The target architecture: Digmips C. Alias & G. Iooss The goal of these TPs is to construct a C compiler for Digmips, a small MIPS processor implemented using the Diglog logic simulation
More informationChapitre 6 Programmation orientée aspect (AOP)
6 Programmation orientée aspect (AOP) 2I1AC3 : Génie logiciel et Patrons de conception Régis Clouard, ENSICAEN - GREYC «L'homme est le meilleur ordinateur que l'on puisse embarquer dans un engin spatial...
More informationRestrictions of Java for Embedded Real-Time Systems
Restrictions of Java for Embedded Real-Time Systems Martin Schoeberl JOP.design martin@jopdesign.com Abstract Java, with its pragmatic approach to object orientation and enhancements over C, got very popular
More information1) Discuss the mutual exclusion mechanism that you choose as implemented in the chosen language and the associated basic syntax
Lab report Project 3 Mihai Ene I have implemented the solution in Java. I have leveraged its threading mechanisms and concurrent API (i.e. concurrent package) in order to achieve the required functionality
More informationChecking Memory Safety of Level 1 Safety-Critical Java Programs using Static-Analysis without Annotations
Checking Memory Safety of Level 1 Safety-Critical Java Programs using Static-Analysis without Annotations Christopher Alexander Marriott PhD University of York Computer Science September 2014 Abstract
More informationSun Control Station. Performance Module. Sun Microsystems, Inc. Part No September 2003, Revision A
Sun Control Station Performance Module Sun Microsystems, Inc. www.sun.com Part No. 817-3610-10 September 2003, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback Copyright
More informationRecommendations for a CORBA Language Mapping for RTSJ
CORBA Language Mapping Victor Giddings Objective Interface Systems victor.giddings@ois.com Outline Real-time Specification for Java Background Memory Management Thread Types Thread Priorities IDL to RTSJ
More informationPart A: Monitoring the Rotational Sensors of the Motor
LEGO MINDSTORMS NXT Lab 1 This lab session is an introduction to the use of motors and rotational sensors for the Lego Mindstorm NXT. The first few parts of this exercise will introduce the use of the
More informationJava Threads. COMP 585 Noteset #2 1
Java Threads The topic of threads overlaps the boundary between software development and operation systems. Words like process, task, and thread may mean different things depending on the author and the
More information#,!" $* ( #+,$ $$ $# -.,$ / 0' ".12 $ $$ 5/ #$" " " $ $ " # $ / 4 * # 6/ 8$8 ' # 6 $! 6$$ #$ * $ $$ ** 4 # 6 # * 0; & *! # #! #(' 7 / $#$ -.
! " $ %&(& $ $ $* ( +,$ $$ $ -.,$ / 0 ".12 ) ($$ ( 4, /!" ($$ ( 4, / 4 0 ($ $ $ $ $$ 5/ $" " " $ $ " $ / 4 * %!&& $ $$ ** 4 6 7$ 4 0 %!&& $ 88 $ 6 67 $ / ** 7$ 4.12 )*&$& 6/ 8$8 6 $! 6$$ $ * 67$ : $* $
More informationNote: Each loop has 5 iterations in the ThreeLoopTest program.
Lecture 23 Multithreading Introduction Multithreading is the ability to do multiple things at once with in the same application. It provides finer granularity of concurrency. A thread sometimes called
More informationDinesh Selvarajan. Bachelor of Engineering (Electronics and Communication Engineering), Bharathiar University, Coimbatore, India, 2000
By Dinesh Selvarajan Bachelor of Engineering (Electronics and Communication Engineering), Bharathiar University, Coimbatore, India, 2 Submitted to the Department of Electrical Engineering and Computer
More informationMOTION CONTROL FLOATCAM MISE EN ROUTE
MOTION CONTROL FLOATCAM MISE EN ROUTE 1 Monter le FLOATCAM et installé le moteur 2 mettre le chariot au milieu 3 alimenté le moteur 4 mettre le frein du chariot 5 appuyer sur le V clignotant de l'écran
More informationUNHCR Partner Portal. Please use only Internet Explorer 8.0 or above version. Browsers such as Google chrome or Firefox generate errors.
Welcome page: https://partner.unhcr.org/ Please use only Internet Explorer 8.0 or above version. Browsers such as Google chrome or Firefox generate errors. 1 This document presents the registration process.
More informationJTDS. DSA Acess from Java (JTDS) 47 A2 98US Rev00
JTDS DSA Acess from Java (JTDS) 47 A2 98US Rev00 JTDS DSA Acess from Java (JTDS) Subject: Special Instructions: Software Supported: Software/Hardware required: Date: June 2002 Bull S.A. CEDOC Atelier de
More informationCanada s Energy Future:
Page 1 of 9 1DWLRQDO (QHUJ\ %RDUG 2IILFH QDWLRQDO GH OҋpQHUJLH Canada s Energy Future: ENERGY SUPPLY AND DEMAND PROJECTIONS TO 2035 Appendices AN ENERGY MARKET ASSESSMENT NOVEMBER 2011 Page 2 of 9 Canada
More informationTP 3 des architectures logicielles Séance 3 : Architecture n-tiers distribuée à base d EJB. 1 Préparation de l environnement Eclipse
TP 3 des architectures logicielles Séance 3 : Architecture n-tiers distribuée à base d EJB 1 Préparation de l environnement Eclipse 1. Environment Used JDK 7 (Java SE 7) EJB 3.0 Eclipse JBoss Tools Core
More informationThe Next Generation of the Real-Time Specification for Java
JTRES 2015 Paris The Next Generation of the Real-Time Specification for Java Dr. James J. Hunt JSR 282 Spec Lead CEO aicas GmbH Java: Once and Future King 2 Why Java for Embedded Systems? Pros Higher abstraction
More informationSphero Lightning Lab Cheat Sheet
Actions Tool Description Variables Ranges Roll Combines heading, speed and time variables to make the robot roll. Duration Speed Heading (0 to 999999 seconds) (degrees 0-359) Set Speed Sets the speed of
More informationJava EE 6: Develop Business Components with JMS & EJBs
Oracle University Contact Us: + 38516306373 Java EE 6: Develop Business Components with JMS & EJBs Duration: 4 Days What you will learn This Java EE 6: Develop Business Components with JMS & EJBs training
More information(************************ Instructions de base ************************) #open "graphics";; open_graph " 800x ";; (* SORTIE : - : unit = () *)
(**********************************************************************) (* Corrige du TD 4 *) (**********************************************************************) (************************ Instructions
More informationUSER GUIDE. PoE & optical transmission Gigabit Ethernet PoE Switch (GGM GS07P)
USER GUIDE PoE & optical transmission Gigabit Ethernet PoE Switch (GGM GS07P) UK Statement Copyright @ 2002-2016 our company. All Rights Reserved. This document contains proprietary information that is
More informationRead me carefully before making your connections!
CROSS GAME USER GUIDE Read me carefully before making your connections! Warning: The CROSS GAME converter is compatible with most brands of keyboards and Gamer mice. However, we cannot guarantee 100% compatibility.
More informationControlLogix Redundant Power Supply Chassis Adapter Module
Installation Instructions ControlLogix Redundant Power Supply Chassis Adapter Module Catalog Number 1756-PSCA Use this publication as a guide when installing the ControlLogix 1756-PSCA chassis adapter
More informationSLAM 3 Cas des inscriptions aux BTS
28/11/2014 SIO2 SLAM SLAM 3 Table des matières I.Création de la base de données...2 a)création des tables dans la base de données gsh...2 b)descriptifs des tables...3 c)procédures d'insertions et mise
More informationCSCI 136 Written Exam #1 Fundamentals of Computer Science II Spring 2015
CSCI 136 Written Exam #1 Fundamentals of Computer Science II Spring 2015 Name: This exam consists of 5 problems on the following 7 pages. You may use your double- sided hand- written 8 ½ x 11 note sheet
More informationCMSC 433 Programming Language Technologies and Paradigms. Concurrency
CMSC 433 Programming Language Technologies and Paradigms Concurrency What is Concurrency? Simple definition Sequential programs have one thread of control Concurrent programs have many Concurrency vs.
More information(************************ Instructions de base ************************)
(**********************************************************************) (* Corrige du TD "Graphisme" *) (**********************************************************************) (************************
More informationMidterm assessment - MAKEUP Fall 2010
M257 MTA Faculty of Computer Studies Information Technology and Computing Date: /1/2011 Duration: 60 minutes 1-Version 1 M 257: Putting Java to Work Midterm assessment - MAKEUP Fall 2010 Student Name:
More informationEcole Nationale d Ingénieurs de Brest. Programmation par objets Le langage C++ Type Concret de Données en C++
Notes de cours Ecole Nationale d Ingénieurs de Brest Programmation par objets Le langage C++ Type Concret de Données en C++ J. Tisseau 1995/1997 enib c jt......... 1/30 Du TAD au TCD Type Abstrait de Données
More informationAsynchronous Event Handling and Safety Critical Java
Asynchronous Event Handling and Safety Critical Java Andy Wellings* and Minseong Kim * Member of JSR 302 Structure Threads or event handling Why JSR 302 decided to use event handlers The JSR 302 concurrency
More informationThe Fujaba Real-Time Statechart PlugIn
The Fujaba Real-Time Statechart PlugIn Sven Burmester and Holger Giese Software Engineering Group University of Paderborn Warburger Str. 100 D-33098 Paderborn, Germany [burmi hg]@upb.de ABSTRACT Distributed
More informationThe New Realtime Specification for Java and the Future of IoT
JTRES 2016 Lugano The New Realtime Specification for Java and the Future of IoT Dr. James J. Hunt JSR 282 Spec Lead CEO aicas GmbH Internet of Things Performance measurment via Embedded Sensors Internet
More informationQuick Installation Guide TK-407K
Quick Installation Guide TK-407K Table of of Contents Contents Français... 1. Avant de commencer... 2. Procéder à l'installation... 3. Fonctionnement... Troubleshooting... 1 1 2 4 5 Version 01.05.2006
More informationSoftware Practice 3 Today s lecture Today s Task
1 Software Practice 3 Today s lecture Today s Task Prof. Hwansoo Han T.A. Jeonghwan Park 43 2 MULTITHREAD IN ANDROID 3 Activity and Service before midterm after midterm 4 Java Thread Thread is an execution
More informationConception Orientée Objet. Romain Rouvoy Licence mention Informatique Université Lille 1
Conception Orientée Objet Romain Rouvoy Licence mention Informatique Université Lille 1 1 Menu du jour 1. Coder c est douter 2. De la génération 3. À l analyse 2 Mauvaise conception? Où est le problème?
More informationUsing the Document Camera. Features of Interest During Operation
Using the Document Camera This document provides instructions for controlling the Vaddio DocCAM 20 HDBT ceiling-mounted document camera using the IR remote. You may use this material in your organization's
More informationC-DIAS Analog Input Module CAI 086 For eight, ±10V voltage inputs
C-DIAS ANALOG INPUT MODULE CAI 086 C-DIAS Analog Input Module CAI 086 For eight, ±10V voltage inputs This analog input module is used for the input of voltage values in the range of ±100mV / ±1.0V and10v.
More informationMAKING JAVA HARD REAL-TIME
MAKING JAVA HARD REAL-TIME Peter Puschner Institut für Technische Informatik Technische Universität Wien A-1040 Wien, Austria Email: peter@vmars.tuwien.ac.at Guillem Bernat and Andy Wellings Department
More informationPatron: Visitor(Visiteur) TSP - June 2013 Patrons de Conception J Paul Gibson Visitor.1
Patron: Visitor(Visiteur) TSP - June 2013 Patrons de Conception J Paul Gibson Visitor.1 Découpler classes et traitements, afin de pouvoir ajouter de nouveaux traitements sans ajouter de nouvelles méthodes
More information