Subversion Repositories Kolibri OS

Rev

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

Rev 4436 Rev 4520
Line 1705... Line 1705...
1705
align 4
1705
align 4
1706
SOCKET_block:
1706
SOCKET_block:
Line 1707... Line 1707...
1707
 
1707
 
Line 1708... Line -...
1708
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: %x\n", eax
-
 
1709
 
1708
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: %x\n", eax
-
 
1709
 
-
 
1710
        push    eax
1710
        pushf
1711
 
Line 1711... Line 1712...
1711
        push    eax
1712
        pushf
1712
        cli
1713
        cli
Line 1722... Line 1723...
1722
        ; Remember the thread ID so we can wake it up again
1723
        ; Remember the thread ID so we can wake it up again
1723
        mov     edx, [edx + TASKDATA.pid]
1724
        mov     edx, [edx + TASKDATA.pid]
1724
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: suspending thread: %u\n", edx
1725
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: suspending thread: %u\n", edx
1725
        mov     [eax + SOCKET.TID], edx
1726
        mov     [eax + SOCKET.TID], edx
1726
        pop     edx
1727
        pop     edx
-
 
1728
        popf
Line 1727... Line 1729...
1727
 
1729
 
1728
        call    change_task
1730
        call    change_task
1729
        pop     eax
-
 
Line 1730... Line 1731...
1730
        popf
1731
        pop     eax
Line 1731... Line 1732...
1731
 
1732
 
Line 1732... Line 1733...
1732
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: continueing\n"
1733
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_block: continuing\n"