Make network queue spinlock protected instead of mutex-protected or worse: a combination of both..

git-svn-id: svn://kolibrios.org@4510 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2014-01-22 14:08:37 +00:00
parent 8f29537721
commit 006f9694b3
3 changed files with 6 additions and 35 deletions

View File

@@ -43,11 +43,7 @@ TCP_input:
push ebx ecx esi edi ; mind the order
mov esi, esp
pushf
cli
add_to_queue TCP_queue, TCP_QUEUE_SIZE, sizeof.TCP_queue_entry, .fail
popf
add esp, sizeof.TCP_queue_entry
call NET_ptr_to_num4