MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / StartThread

Method StartThread

tensorflow/core/platform/env.h:373–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 target_->SleepForMicroseconds(micros);
372 }
373 Thread* StartThread(const ThreadOptions& thread_options, const string& name,
374 std::function<void()> fn) override {
375 return target_->StartThread(thread_options, name, fn);
376 }
377 int32 GetCurrentThreadId() override { return target_->GetCurrentThreadId(); }
378 bool GetCurrentThreadName(string* name) override {
379 return target_->GetCurrentThreadName(name);

Callers 15

StartMethod · 0.45
StartMethod · 0.45
StartMethod · 0.45
StartMethod · 0.45
StartPollingMethod · 0.45
HostStreamMethod · 0.45
XrtTfContextMethod · 0.45
WorkerThreadMethod · 0.45
ScheduleAlarmFunction · 0.45
TEST_FFunction · 0.45
XLA_TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 7

TEST_FFunction · 0.36
XLA_TEST_FFunction · 0.36
XLA_TEST_FFunction · 0.36
XLA_TEST_FFunction · 0.36
TESTFunction · 0.36
LaunchConsumerThreadsMethod · 0.36
TEST_FFunction · 0.36