[En-Nut-Discussion] Sockets

NGB ngbmoreau at yahoo.com.au
Mon Sep 22 04:24:17 CEST 2003


Out of curiostity what happens if 2 tasks wait on the same socket 
Is it the first one that waits that get's suspended, what happens to the other ?

Thanks

Nic


Quoting Harald Kipp <harald.kipp at egnite.de>:

> 
> >
> >I have 1 UDP socket that I needs to be accessed from 2 threads, 1 thread is
> >reading from the socket the other writing.
> >Does ethernut support this ?
> >Anything I should be aware of ?
> 
> No known problems. You can share UDP and TCP sockets
> between threads.
> 
> Harald
> 
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion
> 




-------------------------------------------------




More information about the En-Nut-Discussion mailing list