<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Am rezolvat pana la urma. Nu fusesem atent. Cu toate ca ii dadusem MAILSLOT_WAIT_FOREVER ca flag la CreateMailSlot,<br>tot faceam busy waiting folosind GetMailSlotInfo cand puteam sa ma blochez direct cu ReadFile. It works nao :)<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Daniel Baluta <daniel.baluta@gmail.com><br>To: Sisteme de Operare <so@cursuri.cs.pub.ro><br>Sent: Wednesday, April 16, 2008 10:58:16 PM<br>Subject: Re: [so] Tema 2 - Windows - Mailslot full?<br><br>
Salut, <br><br>Ce flag-uri ai pus cand ai creat/deschis mailslotul?<br><br><div class="gmail_quote">2008/4/16 Faur Andrei <<a rel="nofollow" ymailto="mailto:faur.andrei@yahoo.com" target="_blank" href="mailto:faur.andrei@yahoo.com">faur.andrei@yahoo.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
La tema 2 pe windows se intampla ca atunci cand un client trimite un mesaj serverului prin Mailslot,<br>
WriteFile sa dea eroarea : Reached end of file. Codul de eroare este 38. Acest lucru se intampla numai<br>
la testul 6 (l-am rulat de multe ori si cam in 10% din cazuri da eroarea asta, in rest merge). Problema<br>
se rezolva usor facand clientul sa retrimita mesajul pana cand nu primeste eroarea. Intrebarea mea e,<br>
fac eu ceva gresit sau chiar se umple mailslotul?<br>
<div class="WgoR0d"><br>
<br>
____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile. Try it now. <a rel="nofollow" target="_blank" href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>
_______________________________________________<br>
so mailing list<br>
<a rel="nofollow" ymailto="mailto:so@cursuri.cs.pub.ro" target="_blank" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br>
<a rel="nofollow" target="_blank" href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br>
</div></blockquote></div><br>
</div></div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>