X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=doc%2Fhtml%2Fref%2Ftcpip-freebsd-enhanced-select.html;fp=doc%2Fhtml%2Fref%2Ftcpip-freebsd-enhanced-select.html;h=6042d7c5e4faa2757b1d30a1878c405f5d9d2ef5;hb=2b5bec7716c03d42cfb16d8c98c9cea573bf6722;hp=0000000000000000000000000000000000000000;hpb=47412fc4bd1aefc0d5498bcb3860a9d727196f16;p=karo-tx-redboot.git diff --git a/doc/html/ref/tcpip-freebsd-enhanced-select.html b/doc/html/ref/tcpip-freebsd-enhanced-select.html new file mode 100644 index 00000000..6042d7c5 --- /dev/null +++ b/doc/html/ref/tcpip-freebsd-enhanced-select.html @@ -0,0 +1,222 @@ + + + + + + + + +Enhanced Select() +
eCos Reference Manual
PrevChapter 41. APIsNext

Enhanced Select()

The network stack supports an extension to the standard select +semantics which allows all threads that are waiting to be restarted +even if the select conditions are not satisfied.

The standard select() API:

int  
+select(int nfd,
+       fd_set *in, fd_set *out, fd_set *ex,
+       struct timeval *tv); 

does not support the restart.

The additional API:

int  
+cyg_select_with_abort(int nfd,
+       fd_set *in, fd_set *out, fd_set *ex,
+       struct timeval *tv)

behaves exactly as select() with the additional feature that +a call to

void cyg_select_abort(void)

will cause all threads waiting in any +cyg_select_with_abort() call +to cease waiting and continue execution.


PrevHomeNext
APIsUpOpenBSD TCP/IP Stack port for eCos
\ No newline at end of file