[so] Re: tema3: windows problems

ciprian arbone ciprianarbone at yahoo.com
Sun Dec 9 14:22:32 EET 2007


Salutare,

       Am tot incercat sa modific makefile-ul dupa ce am primit mesajul tau dar nici un rez. 
       Makefile-ul meu arata ca mai jos. Fac ceva funny ?

CC = cl
CPPFLAGS = /W4 /Wp64 /DWIN32 /EHsc /c

build: LibMonitor.DLL LibRW.dll

LibMonitor.dll : LibMonitor.obj Monitor.obj MonitorSC.obj MonitorSW.obj
    link /release /dll /out:LibMonitor.DLL LibMonitor.obj ControlMonitor.obj Monitor.obj MonitorSC.obj MonitorSW.obj  

LibRW.dll : LibRW.obj
    link /release /dll /out:LibRW.DLL LibRW.obj ControlRW.obj ControlMonitor.obj Monitor.obj MonitorSC.obj 


----- Original Message ----
From: Dragos Sbarlea <sbarlead at yahoo.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>
Sent: Sunday, December 9, 2007 12:58:14 PM
Subject: Re: [so] Re: tema3: windows problems


Cred ca ai inclus codul obiect de doua ori cumva. Am avut si eu problema asta. Ai grija la makefile.
 
Dragos Dumitru Sbîrlea
Facultatea de Automatica si Calculatoare
Universitatea Politehnica din Bucuresti

----- Original Message ----
From: "cosminratiu at gmail.com" <cosminratiu at gmail.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>; ciprian arbone <ciprianarbone at yahoo.com>
Sent: Sunday, 9 December, 2007 12:06:28 PM
Subject: [so] Re: tema3: windows
 problems

Hello. Din pacate nu sunt familiarizat cu tema 3, asa ca nu pot sa iti raspund imediat. Trebuia sa trimiti pe lista de so intrebarea, nu mie direct, poate se gaseste cineva care s-a lovit de asta... Daca nu esti inscris inca, do that :).



On Dec 9, 2007 11:58 AM, ciprian arbone <ciprianarbone at yahoo.com> wrote:

Salutare Cosmin.
    Am si eu o mica problema cu tema 3 pe windows. Iti scriu ca eu am epuizat cam toate ideele si presupunerile.

    Idee ca am facut prima data tema pe linux dupa care am trecut-o pe windows si am folosit VS 2005 ca sa modific ce era necesar. Prin urmare am testet-o compiland si ruland in VS 2005. 
    Totul a mers bine pana in momentul in care a trebui sa fac mekefile-ul si sa o pun pe site. Surpriza failed la toate testele.

    Dupa cateva minute de debuging am descoperit si care e problema (fara a gasi si solutia :P). Spre exemplu la Functia A din testul2:

    DWORD WINAPI FunctieA( LPVOID lpParam ) 
    {
       
 Enter(m);
        Sleep(MILI*2);
        test("FunctiaA", Verifica(1,0,0,0,0,0)==0);
        Leave(m);
        return NULL;
    }

   Se apeleaza Enter(m) se incrementeaza valoare NrE asociata la unu dar ulterior cand se apeeleaza Verifica(1,0,0,0,0,0) valoare NrE e zero. Si astsa se intampla si cu variabile conditie care sunt setate (  SetNrCond(val) ): in functia Verifica apara  cu valoarea 0 apoi. I dont get  it.

Can you help me ?







      Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.










       Sent from Yahoo! - a smarter inbox.





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20071209/5481c2ea/attachment-0001.html


More information about the so mailing list