Searched refs:socket_set_guard (Results 1 – 2 of 2) sorted by relevance
102 let mut socket_set_guard = SOCKET_SET.lock_irqsave(); in read() localVariable103 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in read()123 drop(socket_set_guard); in read()135 let mut socket_set_guard = SOCKET_SET.lock_irqsave(); in write() localVariable136 let socket = socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()149 let mut socket_set_guard = SOCKET_SET.lock_irqsave(); in write() localVariable151 socket_set_guard.get_mut::<raw::Socket>(self.handle.0); in write()192 iface.poll(&mut socket_set_guard).ok(); in write()194 drop(socket_set_guard); in write()312 let mut socket_set_guard = SOCKET_SET.lock_irqsave(); in read() localVariable[all …]
576 let mut socket_set_guard = SOCKET_SET.lock_irqsave(); in drop() localVariable577 socket_set_guard.remove(self.0); // 删除的时候,会发送一条FINISH的信息? in drop()578 drop(socket_set_guard); in drop()