- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SomeThreadFunc (0.2 sec)
-
tensorflow/c/env_test.cc
ASSERT_GE(TF_NowNanos(), 946684800 * 1e9); } namespace { struct SomeThreadData { ::tensorflow::mutex mu; bool did_work = false; }; void SomeThreadFunc(void* data) { auto* real_data = static_cast<SomeThreadData*>(data); ::tensorflow::mutex_lock l(real_data->mu); real_data->did_work = true; } } // namespace TEST(TestEnv, TestThreads) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0)