// // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // bits/weakso_locks.hfa -- PUBLIC // Runtime locks that are compiled out when used without linking the runtime // thread system. // // Author : Thierry Delisle // Created On : Thu Jan 21 19:59:25 2021 // Last Modified By : // Last Modified On : // Update Count : // #include "bits/weakso_locks.hfa" void ?{}( blocking_lock & this, bool multi_acquisition, bool strict_owner ) {} void ^?{}( blocking_lock & this ) {} void lock( blocking_lock & this ) {} bool try_lock( blocking_lock & this ) { return false; } void unlock( blocking_lock & this ) {} void on_notify( blocking_lock & this, struct $thread * t ) {} void on_wait( blocking_lock & this ) {} size_t wait_count( blocking_lock & this ) { return 0; } void set_recursion_count( blocking_lock & this, size_t recursion ) {} size_t get_recursion_count( blocking_lock & this ) { return 0; }