Visual studio doesn't implement a rand_r() function since its implementation of rand() is already thread safe
| 17 | // Visual studio doesn't implement a rand_r() function since its |
| 18 | // implementation of rand() is already thread safe |
| 19 | int rand_reentrant(unsigned int* s) { |
| 20 | #ifdef EIGEN_COMP_MSVC_STRICT |
| 21 | EIGEN_UNUSED_VARIABLE(s); |
| 22 | return rand(); |
| 23 | #else |
| 24 | return rand_r(s); |
| 25 | #endif |
| 26 | } |
| 27 | |
| 28 | void test_basic_runqueue() |
| 29 | { |
no outgoing calls
no test coverage detected