Question: I'm porting LWIP to my DIY OS and have a doubt about the mailbox primitive.
My OS has a FIFO that I want to use to implement the mailbox functionality of LWIP. My FIFO is only partially thread-safe. It handles one reader and one writer thread, but not two or more of the same kind.
If LWIP concurrently reads or writes from more than one thread (per mailbox), then I will have to include a critical in the wrapper. Otherwise I can omit it.
Does LWIP read/write to/from a single mailbox from more than one thread concurrently?
22.214.171.124 16:58, September 4, 2009 (UTC)