Last change
on this file since f90c092 was
bbecdd4,
checked in by caparsons <caparson@…>, 16 months ago
|
missed two files with previous commit
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[ab1b971] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2021 University of Waterloo |
---|
| 3 | // |
---|
| 4 | // The contents of this file are covered under the licence agreement in the |
---|
| 5 | // file "LICENCE" distributed with Cforall. |
---|
| 6 | // |
---|
| 7 | // bits/weakso_locks.hfa -- PUBLIC |
---|
| 8 | // Runtime locks that are compiled out when used without linking the runtime |
---|
| 9 | // thread system. |
---|
| 10 | // |
---|
| 11 | // Author : Thierry Delisle |
---|
| 12 | // Created On : Thu Jan 21 19:59:25 2021 |
---|
| 13 | // Last Modified By : |
---|
| 14 | // Last Modified On : |
---|
| 15 | // Update Count : |
---|
| 16 | // |
---|
| 17 | #include "bits/weakso_locks.hfa" |
---|
[c18bf9e] | 18 | #pragma GCC visibility push(default) |
---|
| 19 | |
---|
[22b7579] | 20 | void ?{}( blocking_lock &, bool, bool ) {} |
---|
| 21 | void ^?{}( blocking_lock & ) {} |
---|
[ab1b971] | 22 | |
---|
[22b7579] | 23 | void lock( blocking_lock & ) {} |
---|
| 24 | bool try_lock( blocking_lock & ) { return false; } |
---|
| 25 | void unlock( blocking_lock & ) {} |
---|
[e84ab3d] | 26 | void on_notify( blocking_lock &, struct thread$ * ) {} |
---|
[fece3d9] | 27 | size_t on_wait( blocking_lock &, void (*pp_fn)( void * ), void * pp_datum ) { return 0; } |
---|
[22b7579] | 28 | void on_wakeup( blocking_lock &, size_t ) {} |
---|
[200a229] | 29 | size_t wait_count( blocking_lock & ) { return 0; } |
---|
[73bf7ddc] | 30 | bool register_select( blocking_lock & this, select_node & node ) { return false; } |
---|
| 31 | bool unregister_select( blocking_lock & this, select_node & node ) { return false; } |
---|
[bbecdd4] | 32 | bool on_selected( blocking_lock & this, select_node & node ) { return true; } |
---|
[73bf7ddc] | 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.