[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] multithread netconn / udp echo on two different threads
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] multithread netconn / udp echo on two different threads and ports |
Date: |
Wed, 14 Apr 2010 07:40:11 +0200 |
"Robert Braatz" wrote:
> I have a general question about the thread safety for the actual lwip
> version (download from cvs 9.4.2010).
>
> Is the netconn API thread safe or have the same problems as socket api?
Both the netconn and the socket API are thread-safe as long as you don't share
one netconn/socket between multiple threads (i.e. don't access it from more
than one thread at a time). Being like that, your problem lies somewhere else.
Simon
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01