[pso] [tema2]linux - fifo stuff

omar Chouydary chouydary at yahoo.com
Thu Apr 19 02:15:16 EEST 2007


Ok, corect cu asta. Inca ceva totusi... ai spus mai de
mult (nu mai stiu daca tu sau Razvan) ca la write /
read scriem/citim cat putem blocand. Eventual daca mai
ramane ceva se va face cu un apel ulterior (ca cica de
asta e while-ul in test). Poti sa fii mai detaliat in
asta pls? Eu blochez pana iau tot de ex la read si la
write pana scriu tot buffer-ul. E ceva gresit in asta?
La read as putea intoarce intr-adevar ce e in
buffer-ul de read fara sa mai blochez deloc. Dar la
write nu vad nici o problema in a bloca pana scriu tot
buffer-ul.

--- Mihai Florian <my_mihai_florian at yahoo.com> wrote:

> Poti sa scrii atata timp cat ai date si ai Empty
> Transmitter Holding
> Register setat in Line Status Register.
> 
> Received Data Available Interrupt trebuie sa fie
> enabled tot timpul nu
> doar cand scrii de pe celalalt port deoarece in
> cazul general (transfer
> intre 2 calculatoare diferite) nu ai cum sa stii
> cand celalalt a
> inceput sa scrie.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
>
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the pso mailing list