IDL_IDL bridge The IDL_IDLBridge object class allows an IDL session to create and control other IDL sessions, each of which runs as a separate process.

Slides:



Advertisements
Présentations similaires
Les choses que j aime Learning Objective: To know how to use j aime to talk about things I like to do.
Advertisements

The question word: Quel (which, what). Quel Quel means “which” or “what” and is used to ask questions Quel comes before the noun it describes Quel is.
PERFORMANCE One important issue in networking is the performance of the network—how good is it? We discuss quality of service, an overall measurement.
IP Multicast Text available on
Subject: CMS(Content Management System) Université Alioune DIOP de Bambey UFR Sciences Appliquées et Technologies de l’Information et de la Communication.
Direct and Indirect Object Pronouns in French
Indefinite articles & plural of nouns
Notes for teacher. You can just use slides 2-5 if you wish. If you want to do the practical activity (slides 6-8) you will need to: print off Slide 6.
How to form questions in French
Point de départ The verb avoir (to have) is used frequently. You will have to memorize each of its present tense forms because they are irregular.
Unité 1 : Coucou ! L’article indéfini dans la salle de classe.
Infinitive There are 3 groups of REGULAR verbs in French: verbs ending with -ER = 1st group verbs ending with -IR = 2nd group verbs ending with -RE = 3rd.
Point de départ The verb avoir (to have) is used frequently. You will have to memorize each of its present tense forms because they are irregular.
There exists more negatives than just Ne…pas
Speaking Exam Preparation
Theme Two Speaking Questions
Direct and Indirect Object Pronouns in French
Mon enfance Quand tu étais petit, tu étais comment?
l y a which we have already learned means “there is/are l y a which we have already learned means “there is/are.” When we put a measure of time.
Les pentes sont partout.
Reflective verbs or Pronominal verbs
Quantum Computer A New Era of Future Computing Ahmed WAFDI ??????
- User case - 3D curve length optimization
ÊTRE To be (ou: n’être pas!).
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
Theme Two Speaking Questions
Je pars Tu pars Il/Elle/On part Nous partons Vous partez
Point de départ The verb avoir (to have) is used frequently. You will have to memorize each of its present tense forms because they are irregular.
Qui est-ce?.
Theme One Speaking Questions
There are so many types of sports. For example-: Basketball,volleyball, cricket, badminton, table tennis, football, lawn tennis etc.
Notes: l’Imparfait français III.
F RIENDS AND FRIENDSHIP Project by: POPA BIANCA IONELA.
Quiz What are the different Copper cable types ? How is STP better than UTP ? What type of cable should we use between : Router-Switch, PC-Router, Hub-Switch.
Leadership Styles Mrs. Keith Main Types of Leadership Styles 1.The Autocratic or Authoritarian Leader 2.The Democratic or Participative Leader.
Introduction to Computational Journalism: Thinking Computationally JOUR479V/779V – Computational Journalism University of Maryland, College Park Nick Diakopoulos,
High-Availability Linux Services And Newtork Administration Bourbita Mahdi 2016.
Des adjectifs irreguliers
Le soir Objectifs: Talking about what you do in the evening
Bienvenue Au monde des Pronoms.
Révision de l’alphabet
C’est quel numéro? Count the numbers with pupils.
Roots of a Polynomial: Root of a polynomial is the value of the independent variable at which the polynomial intersects the horizontal axis (the function.
Point de départ In Leçon 19, you learned that reflexive verbs indicate that the subject of a sentence does the action to itself. Reciprocal reflexives,
Quelle est la date aujourd’hui?
1-1 Introduction to ArcGIS Introductions Who are you? Any GIS background? What do you want to get out of the class?
Bienvenue Au monde des Pronoms.
Vulnerability Analysis by : Wail Belhouchet Dr Djouad Tarek 1.
Question formation In English, you can change a statement into a question by adding a helping verb (auxiliary): does he sing? do we sing? did they sing.
Le verbe « être » au pluriel
WRITING A PROS AND CONS ESSAY. Instructions 1. Begin your essay by introducing your topic Explaining that you are exploring the advantages and disadvantages.
Les verbes réfléchis.
J’ai mal !!!!! FINAL REVIEW.
What’s the weather like?
Questions Synthesis.
If you feel that the resources that I have created have helped you save time and/or money, please consider supporting the work that I do by doing your.
POWERPOINT PRESENTATION FOR INTRODUCTION TO THE USE OF SPSS SOFTWARE FOR STATISTICAL ANALISYS BY AMINOU Faozyath UIL/PG2018/1866 JANUARY 2019.
© by Vista Higher Learning, Inc. All rights reserved.4A.1-1 Point de départ In Leçon 1A, you saw a form of the verb aller (to go) in the expression ça.
Task while waiting for everyone to finish writing the WALT and WILF
les formes et les couleurs
Paul Eluard Dans Paris.
les instructions Bonjour la classe, sortez vos affaires
1 Sensitivity Analysis Introduction to Sensitivity Analysis Introduction to Sensitivity Analysis Graphical Sensitivity Analysis Graphical Sensitivity Analysis.
Les négatifs et l’interrogation
Les Mots Intérrogatifs
Lequel The Last Part.
Les opinions Les opinions = Opinions. In this lesson pupils will learn to understand and give their own opinions about singular items.
Direct and Indirect Object Pronouns in French
IMPROVING PF’s M&E APPROACH AND LEARNING STRATEGY Sylvain N’CHO M&E Manager IPA-Cote d’Ivoire.
M’SILA University Information Communication Sciences and technology
Transcription de la présentation:

IDL_IDL bridge The IDL_IDLBridge object class allows an IDL session to create and control other IDL sessions, each of which runs as a separate process. Each instantiation of an IDL_IDLBridge object corresponds to one such child process. Child processes are controlled by the parent IDL process - the IDL process that created the IDL_IDLBridge objects. IDL_IDLBridge objects support the following operations: Exchanging data between the parent IDL process and the child process by copying IDL variables between them using the SetVar and GetVar methods. Executing arbitrary IDL commands in the child process. In synchronous operation, the parent IDL session waits for the child to complete the specified task before continuing. In asynchronous operation, the parent IDL session does not wait, and the two processes run in parallel. Querying the current status of the child process while it asynchronously executes an IDL command. Registering a callback that is called when an asynchronous command finishes execution. Aborting a currently running asynchronous command in a child process. Using these facilities, one or more IDL_IDLBridge child processes can be used to perform work in parallel with each other and with the parent IDL process that starts them. It is important to realize that IDL_IDLBridge child processes do not inherit any state information from the parent IDL process. This means that the child process will not have access to data, compiled routines, system variables, or even the current working directory of the parent process.

IDL_IDL Bridge Objectif technique : Permettre le contrôle de processus IDL fils synchrones ou asynchrones à partir d’un processus IDL père. Les opérations suivantes sont disponibles : L’échange de données entre le processus IDL père et les processus IDL fils par copie de variables. L’exécution de commandes IDL arbitraires dans un processus fils en mode synchrone ou asynchrone. L’interrogation de l’état d’un processus fils asynchrone. L’appel d’une routine de callback lorsqu’une commande asynchrone se termine. L’interruption d’une commande asynchrone dans un processus fils.

API IDL_IDLBridge Méthode Execute : Obj->[IDL_IDLBridge::]Execute, IDLStmt [, /NOWAIT] Méthodes GetVar/SetVar : imgData = oBridge->GetVar('data') oBridge->SetVar, "image", mriImg oBridge->Execute, "TVSCL, image" IIMAGE, imgData Définition d’une routine de callback : IDL> o = OBJ_NEW(“IDL_IDLBRIDGE”, $ CALLBACK = “callbackRoutine”, $ USERDATA = data) PRO callbackRoutine, Status, Error, Objref [, Userdata]

Utilisation des sémaphores pour synchroniser les processus IDL dispose d’un mécanisme de sémaphores permettant la synchronisation de processus. -Les sémaphores peuvent etre utilisés dans le contexte de multiples processus IDL afin de protéger ou de restreindre l’accès a certaines ressources telles que de la mémoire partagée. Quatre routines IDL sont dédiées à la gestions des sémaphores : SEM_DELETE, SEM_LOCK, SEM_RELEASE

Exemple d’utilisation des sémaphores 1. Création d’un sémaphore dans la session IDL 1 : status = SEM_CREATE('semaphore1') 2. Verrouillage de ce sémaphore dans IDL 1 : status = SEM_LOCK('semaphore1') (si le verrou a pu être posé, status vaut 1) 3. Création du même sémaphore dans la session IDL 2 : status = SEM_CREATE('semaphore1') 4. Verrouillage de ce sémaphore dans IDL 2 : status = SEM_LOCK('semaphore1') (comme le verrou est détenu par IDL 1, status vaut 0) 5. Déverrouillage du sémaphore dans IDL 1 : SEM_RELEASE, 'semaphore1' 6. Verrouillage du sémaphore dans IDL 2 : status = SEM_LOCK('semaphore1') (comme le verrou a été libéré IDL 1, status vaut 1) 7. Destruction de la référence au sémaphore dans IDL 2 : SEM_DELETE, 'semaphore1' 8. Destruction physique du sémaphore dans IDL 1 : SEM_DELETE, 'semaphore1'

IDL_IDL Bridge Exemples