Comtrol eCos User Manual

Page 594

Advertising
background image

Chapter 44. APIs

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.

490

Advertising