Home
last modified time | relevance | path

Searched refs:islock (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/cplusplus/example/cpp_standard/
A Dtimed_mutex.cpp13 bool islock; in task0_entry() local
17 islock = mutex_test.try_lock_for(waittime); in task0_entry()
22 cout << "thread0 trylock result:" << islock << " time to try lock " in task0_entry()
28 bool islock; in task1_entry() local
31 islock = mutex_test.try_lock_for(waittime); in task1_entry()
34 cout << "thread1 trylock result:" << islock << " time to try lock " in task1_entry()

Completed in 2 milliseconds