Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > Esercizio Programmazione Concorrente Esame
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
pintu
.illuminato.

User info:
Registered: Jul 2010
Posts: 248 (0.05 al dì)
Location: Novara
Corso: informatica
Anno:
Time Online: 2 Days, 0:46:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Esercizio Programmazione Concorrente Esame

Ragazzi qualcuno potrebbe postare la soluzione dell'esercizio di programmazione dell'esame di oggi
"Implementare un semaforo generalizzato tramite monitor" ??

20-06-2011 19:33
Click Here to See the Profile for pintu Click here to Send pintu a Private Message Find more posts by pintu Add pintu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
SanJuanWolf89
.consigliere.

User info:
Registered: Jun 2010
Posts: 100 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 7:05:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

hai presente l'esempio produttore consumatore che ha messo sulle slide? l'impostazione è quella solo che al posto di produttore e consumatore metti le due funzioni up e down. Le variabili condizioni sn le stesse credo

21-06-2011 08:00
Click Here to See the Profile for SanJuanWolf89 Click here to Send SanJuanWolf89 a Private Message Find more posts by SanJuanWolf89 Add SanJuanWolf89 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
asgar
.primate.

User info:
Registered: Jun 2009
Posts: 78 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10:31:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io ho fatto una cosa del genere

monitor{
condition red;
int sem;

procedure UP{
sem++;
if(sem == 1){
signal(red);}
}

procedure DOWN{
if(sem == 0){
wait(red);}
sem--;
}
}

21-06-2011 09:00
Click Here to See the Profile for asgar Click here to Send asgar a Private Message Find more posts by asgar Add asgar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pintu
.illuminato.

User info:
Registered: Jul 2010
Posts: 248 (0.05 al dì)
Location: Novara
Corso: informatica
Anno:
Time Online: 2 Days, 0:46:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho fatto anche io cosi anche s eho dimenticato di mettere l'if nella up -.- Mi consola il fatto che almeno somiglia alla mia soluzione :D speriamo bene! Non si sa niente sui tempi di uscita delle date per l'orale??

22-06-2011 16:35
Click Here to See the Profile for pintu Click here to Send pintu a Private Message Find more posts by pintu Add pintu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
asgar
.primate.

User info:
Registered: Jun 2009
Posts: 78 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10:31:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no idea, ma realisticamente potrebbero uscire i risultati i primi di settimana prossima quindi gli orali saranno a fine settimana prossima o fra 2 settimane.. ma sono solo mie supposizioni! speriamo di arrivarci all'orale :D

22-06-2011 19:41
Click Here to See the Profile for asgar Click here to Send asgar a Private Message Find more posts by asgar Add asgar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
pintu
.illuminato.

User info:
Registered: Jul 2010
Posts: 248 (0.05 al dì)
Location: Novara
Corso: informatica
Anno:
Time Online: 2 Days, 0:46:30 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si hai detto bene, speriamo di arrivarci :D sulle crocette sono abbastanza fiducioso anche se ho fatto delle porcate immense...il problema era la parte dei monitor però sembra che la maggior parte delle persone ha fatto una cosa del genere quindi non dovrebbe essere andata malissimo! Sperem :D

22-06-2011 19:43
Click Here to See the Profile for pintu Click here to Send pintu a Private Message Find more posts by pintu Add pintu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Delorean
.illuminato.

User info:
Registered: Dec 2005
Posts: 158 (0.02 al dì)
Location:
Corso: Info
Anno:
Time Online: 20:53:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma alla fine era giusto?

__________________
.:: D ::.

05-09-2011 16:18
Click Here to See the Profile for Delorean Click here to Send Delorean a Private Message Find more posts by Delorean Add Delorean to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
asgar
.primate.

User info:
Registered: Jun 2009
Posts: 78 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 10:31:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

05-09-2011 19:32
Click Here to See the Profile for asgar Click here to Send asgar a Private Message Find more posts by asgar Add asgar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 23:37.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.041 seconds (74.30% PHP - 25.70% MySQL) con 24 query.