Subversion Repositories Kolibri OS

Rev

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

Rev 4052 Rev 4056
Line 2209... Line 2209...
2209
;
2209
;
2210
;------------------------------------------------------
2210
;------------------------------------------------------
2211
align 4
2211
align 4
2212
SOCKET_process_end:
2212
SOCKET_process_end:
Line -... Line 2213...
-
 
2213
 
-
 
2214
        cmp     [net_sockets + SOCKET.NextPtr], 0       ; Are there any active sockets at all?
-
 
2215
        je      .quickret                               ; nope, exit immediately
-
 
2216
 
-
 
2217
; TODO: run the following code in another thread, to avoid deadlock
2213
 
2218
 
Line 2214... Line 2219...
2214
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_process_end: %x\n", edx
2219
        DEBUGF  DEBUG_NETWORK_VERBOSE, "SOCKET_process_end: %x\n", edx
2215
 
2220
 
2216
        pusha
2221
        pusha
Line 2259... Line 2264...
2259
        pusha
2264
        pusha
2260
        mov     ecx, socket_mutex
2265
        mov     ecx, socket_mutex
2261
        call    mutex_unlock
2266
        call    mutex_unlock
2262
        popa
2267
        popa
Line -... Line 2268...
-
 
2268
 
2263
 
2269
  .quickret: