Subversion Repositories Kolibri OS

Rev

Rev 2996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2996 Rev 2998
Line 13... Line 13...
13
;;         GNU GENERAL PUBLIC LICENSE                              ;;
13
;;         GNU GENERAL PUBLIC LICENSE                              ;;
14
;;          Version 2, June 1991                                   ;;
14
;;          Version 2, June 1991                                   ;;
15
;;                                                                 ;;
15
;;                                                                 ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
$Revision: 2996 $
18
$Revision: 2998 $
Line 19... Line 19...
19
 
19
 
Line 840... Line 840...
840
 
840
 
841
        mov     ecx, esi
841
        mov     ecx, esi
842
        mov     edi, edx
842
        mov     edi, edx
843
        xor     edx, edx
843
        xor     edx, edx
-
 
844
        add     eax, STREAM_SOCKET.rcv
844
        add     eax, STREAM_SOCKET.rcv
845
  .loop:
-
 
846
        cmp     [eax + RING_BUFFER.size], 0
845
  .loop:                            ;;;; FIXME: ecx!
847
        je      .block
846
        call    SOCKET_ring_read
-
 
847
        test    ecx, ecx
-
 
848
        jz      .block
848
        call    SOCKET_ring_read
Line 849... Line 849...
849
        call    SOCKET_ring_free
849
        call    SOCKET_ring_free
850
 
850