forked from KolibriOS/kolibrios
Bugfix in SOCKET_block
git-svn-id: svn://kolibrios.org@4520 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a54af7d24b
commit
730070df44
@ -1707,8 +1707,9 @@ SOCKET_block:
|
||||
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_block: %x\n", eax
|
||||
|
||||
pushf
|
||||
push eax
|
||||
|
||||
pushf
|
||||
cli
|
||||
|
||||
; Set the 'socket is blocked' flag
|
||||
@ -1724,12 +1725,12 @@ SOCKET_block:
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_block: suspending thread: %u\n", edx
|
||||
mov [eax + SOCKET.TID], edx
|
||||
pop edx
|
||||
popf
|
||||
|
||||
call change_task
|
||||
pop eax
|
||||
popf
|
||||
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_block: continueing\n"
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE, "SOCKET_block: continuing\n"
|
||||
|
||||
ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user