- File:
-
- 1 edited
-
libcfa/src/concurrency/clib/cfathread.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
r75965a6 r75c7252 22 22 #include "thread.hfa" 23 23 #include "time.hfa" 24 #include "stdlib.hfa"25 24 26 25 #include "cfathread.h" … … 196 195 eevent.data.u64 = (uint64_t)active_thread(); 197 196 198 int id = prng() % poller_cnt;197 int id = thread_rand() % poller_cnt; 199 198 if(0 != epoll_ctl(poller_fds[id], EPOLL_CTL_ADD, fd, &eevent)) 200 199 {
Note:
See TracChangeset
for help on using the changeset viewer.