SlideShare a Scribd company logo
Operating Systems Team: Jonathan Arturo Alvarado Mata   1441616 Obed David  Guevara Ibarra        1447478 Carlos Eduardo Triana Sarmiento    1412573 Blog: http://os-ocj.blogspot.com/
First Point  ,[object Object],[object Object],[object Object],[object Object]
what we did?... ,[object Object],[object Object]
what we did?... ,[object Object],[object Object]
CODE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CONSUMER(){ while(1){ try to aquire the lock if(l1->TRYAQUIRE()){ if the array is empty, wait                            if it isn’t, continue...                    WHILE(ARRAY == FULL){                               C->WAIT(L1);                      consume the next unit of data                         }decreae the number of items in the array               CONSUME(int dummy);                       C-> SIGNALl();   Enables the waiting thread                        L1->RELEASE();           }end of if       }end of while }//end of function consumer
void main(){ L1 = new lock(“L1”); C = new condition(“C”); Thread *t = new Thread(“producer”);   t->Fork(producer, 1); Thread * t= new Thread(“consumer”); t->Fork(consumer, 1); }end main
Second Point ,[object Object],[object Object],[object Object]
The solution... ,[object Object],[object Object],[object Object]
CODE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bibliography ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Python Flow Control
Python Flow ControlPython Flow Control
Python Flow Control
Kamal Acharya
 
Learning php 7
Learning php 7Learning php 7
Learning php 7
Ed Lomonaco
 
Control flow statements in java
Control flow statements in javaControl flow statements in java
Control flow statements in java
yugandhar vadlamudi
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
Online
 
Python loops
Python loopsPython loops
Iteration
IterationIteration
Iteration
Liam Dunphy
 
Lec11 semaphores
Lec11 semaphoresLec11 semaphores
Lec11 semaphores
anandammca
 
Exception handlingpdf
Exception handlingpdfException handlingpdf
Exception handlingpdf
gandra jeeshitha
 
Appsec obfuscator reloaded
Appsec obfuscator reloadedAppsec obfuscator reloaded
Appsec obfuscator reloaded
Cyber Security Alliance
 
Control Structures in Python
Control Structures in PythonControl Structures in Python
Control Structures in Python
Sumit Satam
 
M C6java6
M C6java6M C6java6
M C6java6
mbruggen
 
Chap05
Chap05Chap05
Chap05
Terry Yoast
 
Introduction to Erlang Part 2
Introduction to Erlang Part 2Introduction to Erlang Part 2
Introduction to Erlang Part 2
Dmitry Zinoviev
 
Threads
ThreadsThreads
Control statements
Control statementsControl statements
Control statements
Kanwalpreet Kaur
 
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
Jonathan Salwan
 
How Functions Work
How Functions WorkHow Functions Work
How Functions Work
Saumil Shah
 
Introduction to Erlang Part 1
Introduction to Erlang Part 1Introduction to Erlang Part 1
Introduction to Erlang Part 1
Dmitry Zinoviev
 
Control structures in java
Control structures in javaControl structures in java
Control structures in java
VINOTH R
 
Java 14 features
Java 14 featuresJava 14 features
Java 14 features
Aditi Anand
 

What's hot (20)

Python Flow Control
Python Flow ControlPython Flow Control
Python Flow Control
 
Learning php 7
Learning php 7Learning php 7
Learning php 7
 
Control flow statements in java
Control flow statements in javaControl flow statements in java
Control flow statements in java
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
 
Python loops
Python loopsPython loops
Python loops
 
Iteration
IterationIteration
Iteration
 
Lec11 semaphores
Lec11 semaphoresLec11 semaphores
Lec11 semaphores
 
Exception handlingpdf
Exception handlingpdfException handlingpdf
Exception handlingpdf
 
Appsec obfuscator reloaded
Appsec obfuscator reloadedAppsec obfuscator reloaded
Appsec obfuscator reloaded
 
Control Structures in Python
Control Structures in PythonControl Structures in Python
Control Structures in Python
 
M C6java6
M C6java6M C6java6
M C6java6
 
Chap05
Chap05Chap05
Chap05
 
Introduction to Erlang Part 2
Introduction to Erlang Part 2Introduction to Erlang Part 2
Introduction to Erlang Part 2
 
Threads
ThreadsThreads
Threads
 
Control statements
Control statementsControl statements
Control statements
 
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
Sstic 2015 detailed_version_triton_concolic_execution_frame_work_f_saudel_jsa...
 
How Functions Work
How Functions WorkHow Functions Work
How Functions Work
 
Introduction to Erlang Part 1
Introduction to Erlang Part 1Introduction to Erlang Part 1
Introduction to Erlang Part 1
 
Control structures in java
Control structures in javaControl structures in java
Control structures in java
 
Java 14 features
Java 14 featuresJava 14 features
Java 14 features
 

Viewers also liked

Autoestima
AutoestimaAutoestima
Autoestima
Melisa Usme
 
Rosa montero
Rosa monteroRosa montero
Rosa montero
Malena
 
Verdadabsoluta
VerdadabsolutaVerdadabsoluta
Verdadabsoluta
Mireia Buchaca
 
Pruebas de escritorio con objetos
Pruebas de escritorio con objetosPruebas de escritorio con objetos
Pruebas de escritorio con objetos
Isael Gonzalez Yañez
 
Apa sexta edicion-2009-
Apa sexta edicion-2009-Apa sexta edicion-2009-
Apa sexta edicion-2009-
James Melenge
 
Google
GoogleGoogle
Google
guest2a7fe34
 
Fruit
FruitFruit
Privaatrecht
PrivaatrechtPrivaatrecht
PrivaatrechtYtomyth
 
Apa sexta edicion-2009-
Apa sexta edicion-2009-Apa sexta edicion-2009-
Apa sexta edicion-2009-
James Melenge
 
Que importa (1)
Que importa (1)Que importa (1)
Que importa (1)
Bernardita
 
Werving en Selectie ICT | IT-Profile
Werving en Selectie ICT | IT-ProfileWerving en Selectie ICT | IT-Profile
Werving en Selectie ICT | IT-Profile
IT-Profile , Best , Noord Brabant
 
Presentación miguel de cervantes
Presentación miguel de cervantesPresentación miguel de cervantes
Presentación miguel de cervantes
Elisadelengua
 
Camilo
CamiloCamilo
Camilo
andres199495
 
Televisión educativa fernando galarza
Televisión educativa fernando galarzaTelevisión educativa fernando galarza
Televisión educativa fernando galarza
Fernando Galarza Vejarano
 
Presentacion sobre gerena
Presentacion sobre gerenaPresentacion sobre gerena
Presentacion sobre gerena
samuelgarciaalvarez
 
Open day presentation 2
Open day presentation 2Open day presentation 2
Open day presentation 2
sallyross
 
Amor
AmorAmor
Amor
LINITA312
 
Porter Novelli Personal branding met social media
Porter Novelli Personal branding met social mediaPorter Novelli Personal branding met social media
Porter Novelli Personal branding met social media
Porter Novelli NL
 
Revisión web ajustes
Revisión web ajustesRevisión web ajustes
Revisión web ajustes
solbarreira
 
Syria Rosary
Syria RosarySyria Rosary
Syria Rosary
Joriz Calsa
 

Viewers also liked (20)

Autoestima
AutoestimaAutoestima
Autoestima
 
Rosa montero
Rosa monteroRosa montero
Rosa montero
 
Verdadabsoluta
VerdadabsolutaVerdadabsoluta
Verdadabsoluta
 
Pruebas de escritorio con objetos
Pruebas de escritorio con objetosPruebas de escritorio con objetos
Pruebas de escritorio con objetos
 
Apa sexta edicion-2009-
Apa sexta edicion-2009-Apa sexta edicion-2009-
Apa sexta edicion-2009-
 
Google
GoogleGoogle
Google
 
Fruit
FruitFruit
Fruit
 
Privaatrecht
PrivaatrechtPrivaatrecht
Privaatrecht
 
Apa sexta edicion-2009-
Apa sexta edicion-2009-Apa sexta edicion-2009-
Apa sexta edicion-2009-
 
Que importa (1)
Que importa (1)Que importa (1)
Que importa (1)
 
Werving en Selectie ICT | IT-Profile
Werving en Selectie ICT | IT-ProfileWerving en Selectie ICT | IT-Profile
Werving en Selectie ICT | IT-Profile
 
Presentación miguel de cervantes
Presentación miguel de cervantesPresentación miguel de cervantes
Presentación miguel de cervantes
 
Camilo
CamiloCamilo
Camilo
 
Televisión educativa fernando galarza
Televisión educativa fernando galarzaTelevisión educativa fernando galarza
Televisión educativa fernando galarza
 
Presentacion sobre gerena
Presentacion sobre gerenaPresentacion sobre gerena
Presentacion sobre gerena
 
Open day presentation 2
Open day presentation 2Open day presentation 2
Open day presentation 2
 
Amor
AmorAmor
Amor
 
Porter Novelli Personal branding met social media
Porter Novelli Personal branding met social mediaPorter Novelli Personal branding met social media
Porter Novelli Personal branding met social media
 
Revisión web ajustes
Revisión web ajustesRevisión web ajustes
Revisión web ajustes
 
Syria Rosary
Syria RosarySyria Rosary
Syria Rosary
 

Similar to Operating systems

Exception Handling1
Exception Handling1Exception Handling1
Exception Handling1
guest739536
 
Full solution to bounded buffer
Full solution to bounded bufferFull solution to bounded buffer
Full solution to bounded buffer
Syed Zaid Irshad
 
Handling
HandlingHandling
Handling
Amit Vats
 
Let's Talk Locks!
Let's Talk Locks!Let's Talk Locks!
Let's Talk Locks!
C4Media
 
Java 5 concurrency
Java 5 concurrencyJava 5 concurrency
Java 5 concurrency
priyank09
 
04 threads
04 threads04 threads
04 threads
ambar khetan
 
Exception handling and templates
Exception handling and templatesException handling and templates
Exception handling and templates
farhan amjad
 
----------Evaluator-java---------------- package evaluator- import j.docx
----------Evaluator-java---------------- package evaluator-   import j.docx----------Evaluator-java---------------- package evaluator-   import j.docx
----------Evaluator-java---------------- package evaluator- import j.docx
janettjz6sfehrle
 
Java Multithreading.pptx
Java Multithreading.pptxJava Multithreading.pptx
Java Multithreading.pptx
RanjithaM32
 
Wait for your fortune without Blocking!
Wait for your fortune without Blocking!Wait for your fortune without Blocking!
Wait for your fortune without Blocking!
Roman Elizarov
 
Lec7!JavaThreads.ppt
Lec7!JavaThreads.pptLec7!JavaThreads.ppt
Lec7!JavaThreads.ppt
ssuserec53e73
 
Lec7!JavaThreads.ppt java multithreading
Lec7!JavaThreads.ppt java multithreadingLec7!JavaThreads.ppt java multithreading
Lec7!JavaThreads.ppt java multithreading
kavitamittal18
 
Lec7!JavaThreads.ppt
Lec7!JavaThreads.pptLec7!JavaThreads.ppt
Lec7!JavaThreads.ppt
HemantSharma134028
 
Computer architecture related concepts, process
Computer architecture related concepts, processComputer architecture related concepts, process
Computer architecture related concepts, process
ssusera979f41
 
Theoretical presentation1nachos
Theoretical presentation1nachosTheoretical presentation1nachos
Theoretical presentation1nachos
colli03
 
Templates
TemplatesTemplates
Templates
Farwa Ansari
 
Exception handling in java
Exception handling  in javaException handling  in java
Time and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptxTime and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptx
dudelover
 
Lazy Java
Lazy JavaLazy Java
Lazy Java
J On The Beach
 
Lazy java
Lazy javaLazy java
Lazy java
Mario Fusco
 

Similar to Operating systems (20)

Exception Handling1
Exception Handling1Exception Handling1
Exception Handling1
 
Full solution to bounded buffer
Full solution to bounded bufferFull solution to bounded buffer
Full solution to bounded buffer
 
Handling
HandlingHandling
Handling
 
Let's Talk Locks!
Let's Talk Locks!Let's Talk Locks!
Let's Talk Locks!
 
Java 5 concurrency
Java 5 concurrencyJava 5 concurrency
Java 5 concurrency
 
04 threads
04 threads04 threads
04 threads
 
Exception handling and templates
Exception handling and templatesException handling and templates
Exception handling and templates
 
----------Evaluator-java---------------- package evaluator- import j.docx
----------Evaluator-java---------------- package evaluator-   import j.docx----------Evaluator-java---------------- package evaluator-   import j.docx
----------Evaluator-java---------------- package evaluator- import j.docx
 
Java Multithreading.pptx
Java Multithreading.pptxJava Multithreading.pptx
Java Multithreading.pptx
 
Wait for your fortune without Blocking!
Wait for your fortune without Blocking!Wait for your fortune without Blocking!
Wait for your fortune without Blocking!
 
Lec7!JavaThreads.ppt
Lec7!JavaThreads.pptLec7!JavaThreads.ppt
Lec7!JavaThreads.ppt
 
Lec7!JavaThreads.ppt java multithreading
Lec7!JavaThreads.ppt java multithreadingLec7!JavaThreads.ppt java multithreading
Lec7!JavaThreads.ppt java multithreading
 
Lec7!JavaThreads.ppt
Lec7!JavaThreads.pptLec7!JavaThreads.ppt
Lec7!JavaThreads.ppt
 
Computer architecture related concepts, process
Computer architecture related concepts, processComputer architecture related concepts, process
Computer architecture related concepts, process
 
Theoretical presentation1nachos
Theoretical presentation1nachosTheoretical presentation1nachos
Theoretical presentation1nachos
 
Templates
TemplatesTemplates
Templates
 
Exception handling in java
Exception handling  in javaException handling  in java
Exception handling in java
 
Time and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptxTime and Space Complexity Analysis.pptx
Time and Space Complexity Analysis.pptx
 
Lazy Java
Lazy JavaLazy Java
Lazy Java
 
Lazy java
Lazy javaLazy java
Lazy java
 

More from Jonathan Alvarado

Firma digital
Firma digitalFirma digital
Firma digital
Jonathan Alvarado
 
Android + Bluetooth + Arduino
Android + Bluetooth + ArduinoAndroid + Bluetooth + Arduino
Android + Bluetooth + Arduino
Jonathan Alvarado
 
Presentacion moviles
Presentacion movilesPresentacion moviles
Presentacion moviles
Jonathan Alvarado
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
Jonathan Alvarado
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
Jonathan Alvarado
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
Jonathan Alvarado
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
Jonathan Alvarado
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
Jonathan Alvarado
 
Operating systems
Operating systemsOperating systems
Operating systems
Jonathan Alvarado
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
Jonathan Alvarado
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
Jonathan Alvarado
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
Jonathan Alvarado
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
Jonathan Alvarado
 

More from Jonathan Alvarado (13)

Firma digital
Firma digitalFirma digital
Firma digital
 
Android + Bluetooth + Arduino
Android + Bluetooth + ArduinoAndroid + Bluetooth + Arduino
Android + Bluetooth + Arduino
 
Presentacion moviles
Presentacion movilesPresentacion moviles
Presentacion moviles
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
 
Practical presentation
Practical presentationPractical presentation
Practical presentation
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
 
Avance de Proyecto
Avance de ProyectoAvance de Proyecto
Avance de Proyecto
 

Recently uploaded

What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 

Recently uploaded (20)

What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 

Operating systems

  • 1. Operating Systems Team: Jonathan Arturo Alvarado Mata   1441616 Obed David  Guevara Ibarra        1447478 Carlos Eduardo Triana Sarmiento    1412573 Blog: http://os-ocj.blogspot.com/
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. CONSUMER(){ while(1){ try to aquire the lock if(l1->TRYAQUIRE()){ if the array is empty, wait                           if it isn’t, continue...                    WHILE(ARRAY == FULL){                               C->WAIT(L1);                      consume the next unit of data                         }decreae the number of items in the array               CONSUME(int dummy);                       C-> SIGNALl(); Enables the waiting thread                        L1->RELEASE();           }end of if       }end of while }//end of function consumer
  • 7. void main(){ L1 = new lock(“L1”); C = new condition(“C”); Thread *t = new Thread(“producer”);   t->Fork(producer, 1); Thread * t= new Thread(“consumer”); t->Fork(consumer, 1); }end main
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.