source: libcfa/src/bits/weakso_locks.cfa @ 50ff1d0

ADTast-experimentalpthread-emulation
Last change on this file since 50ff1d0 was c18bf9e, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Visibility concurrency

  • Property mode set to 100644
File size: 949 bytes
RevLine 
[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
18#include "bits/weakso_locks.hfa"
19
[c18bf9e]20#pragma GCC visibility push(default)
21
[22b7579]22void  ?{}( blocking_lock &, bool, bool ) {}
23void ^?{}( blocking_lock & ) {}
[ab1b971]24
[22b7579]25void lock( blocking_lock & ) {}
26bool try_lock( blocking_lock & ) { return false; }
27void unlock( blocking_lock & ) {}
[e84ab3d]28void on_notify( blocking_lock &, struct thread$ * ) {}
[200a229]29size_t on_wait( blocking_lock & ) { return 0; }
[22b7579]30void on_wakeup( blocking_lock &, size_t ) {}
[200a229]31size_t wait_count( blocking_lock & ) { return 0; }
Note: See TracBrowser for help on using the repository browser.