is.timed: Timeout operations for boost.mutex objects

Description Usage Arguments Value Author(s) See Also Examples

Description

The is.timed function tells if a boost.mutex object has a timeout. The timeout function tells how long a mutex will wait for a timeout.

Usage

1
2

Arguments

m

a boost.mutex object to get timeout information for

Value

is.timed returns TRUE if the object has a timeout and FALSE otherwise. If a timeout has been set timeout returns the number of seconds a boost.mutex object will attempt to acquire a lock and NULL otherwise.

Author(s)

Michael J. Kane <bigmemoryauthors@gmail.com>

See Also

synchronicity

Examples

1
2
3
4
5
6

Example output

[1] TRUE
[1] FALSE
[1] 5
NULL

synchronicity documentation built on May 2, 2019, 5:24 p.m.