Rev 5870 | Rev 6015 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5870 | Rev 6011 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | format binary as "mnt" |
69 | format binary as "mnt" |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | include 'macros.inc' |
71 | include 'macros.inc' |
Line 72... | Line 72... | ||
72 | include 'struct.inc' |
72 | include 'struct.inc' |
Line 73... | Line 73... | ||
73 | 73 | ||
74 | $Revision: 5870 $ |
74 | $Revision: 6011 $ |
Line 2165... | Line 2165... | ||
2165 | ;-------------------------------------- |
2165 | ;-------------------------------------- |
2166 | ; kill all sockets this process owns |
2166 | ; kill all sockets this process owns |
2167 | pusha |
2167 | pusha |
2168 | mov edx, [TASK_BASE] |
2168 | mov edx, [TASK_BASE] |
2169 | mov edx, [edx+TASKDATA.pid] |
2169 | mov edx, [edx+TASKDATA.pid] |
2170 | call SOCKET_process_end |
2170 | call socket_process_end |
2171 | popa |
2171 | popa |
2172 | ;-------------------------------------- |
2172 | ;-------------------------------------- |
2173 | mov ecx, [current_slot] |
2173 | mov ecx, [current_slot] |
2174 | mov eax, [ecx+APPDATA.tls_base] |
2174 | mov eax, [ecx+APPDATA.tls_base] |
2175 | test eax, eax |
2175 | test eax, eax |
Line 2295... | Line 2295... | ||
2295 | jz noprocessterminate |
2295 | jz noprocessterminate |
2296 | ;-------------------------------------- |
2296 | ;-------------------------------------- |
2297 | ; terminate all network sockets it used |
2297 | ; terminate all network sockets it used |
2298 | pusha |
2298 | pusha |
2299 | mov eax, edx |
2299 | mov eax, edx |
2300 | call SOCKET_process_end |
2300 | call socket_process_end |
2301 | popa |
2301 | popa |
2302 | ;-------------------------------------- |
2302 | ;-------------------------------------- |
2303 | cmp [_display.select_cursor], 0 |
2303 | cmp [_display.select_cursor], 0 |
2304 | je .restore_end |
2304 | je .restore_end |
2305 | ; restore default cursor before killing |
2305 | ; restore default cursor before killing |