Rev 1502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1502 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup sync |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #ifndef __CONDVAR_H__ |
35 | #ifndef __CONDVAR_H__ |
30 | #define __CONDVAR_H__ |
36 | #define __CONDVAR_H__ |
31 | 37 | ||
32 | #include <arch/types.h> |
38 | #include <arch/types.h> |
33 | #include <synch/waitq.h> |
39 | #include <synch/waitq.h> |
Line 47... | Line 53... | ||
47 | extern void condvar_signal(condvar_t *cv); |
53 | extern void condvar_signal(condvar_t *cv); |
48 | extern void condvar_broadcast(condvar_t *cv); |
54 | extern void condvar_broadcast(condvar_t *cv); |
49 | extern int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int flags); |
55 | extern int _condvar_wait_timeout(condvar_t *cv, mutex_t *mtx, __u32 usec, int flags); |
50 | 56 | ||
51 | #endif |
57 | #endif |
- | 58 | ||
- | 59 | /** @} |
|
- | 60 | */ |
|
- | 61 |