[so] Tema 2 - Windows - Mailslot full?
Faur Andrei
faur.andrei at yahoo.com
Thu Apr 17 00:31:49 EEST 2008
Am rezolvat pana la urma. Nu fusesem atent. Cu toate ca ii dadusem MAILSLOT_WAIT_FOREVER ca flag la CreateMailSlot,
tot faceam busy waiting folosind GetMailSlotInfo cand puteam sa ma blochez direct cu ReadFile. It works nao :)
----- Original Message ----
From: Daniel Baluta <daniel.baluta at gmail.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>
Sent: Wednesday, April 16, 2008 10:58:16 PM
Subject: Re: [so] Tema 2 - Windows - Mailslot full?
Salut,
Ce flag-uri ai pus cand ai creat/deschis mailslotul?
2008/4/16 Faur Andrei <faur.andrei at yahoo.com>:
La tema 2 pe windows se intampla ca atunci cand un client trimite un mesaj serverului prin Mailslot,
WriteFile sa dea eroarea : Reached end of file. Codul de eroare este 38. Acest lucru se intampla numai
la testul 6 (l-am rulat de multe ori si cam in 10% din cazuri da eroarea asta, in rest merge). Problema
se rezolva usor facand clientul sa retrimita mesajul pana cand nu primeste eroarea. Intrebarea mea e,
fac eu ceva gresit sau chiar se umple mailslotul?
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
____________________________________________________________________________________
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/20080416/4aba7c2c/attachment-0001.htm
More information about the so
mailing list