Thread Safe

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

Onload assumes that file descriptor modifications are thread-safe and that file descriptors are not concurrently modified by different threads. Concurrent access should not cause problems. This is different from kernel behaviour and users should set EF_FDS_MT_SAFE=0 if the application is not considered thread-safe.

Similar consideration should be given when using epoll() where default concurrency control are disabled in Onload. Users should set EF_EPOLL_MT_SAFE=0.