boost.mutex | R Documentation |
This function creates a boost.mutex
object.
boost.mutex(sharedName = NULL, timeout = NULL, create = TRUE)
sharedName |
The name of the shared resource corresponding to the mutex. By default a universal unique identifier is supplied. |
timeout |
The amount of time (in seconds) that the mutex should try to attempt to get a lock. By default no timeout is supplied and the mutex will attempt to acquire the lock indefinitely. |
create |
Should the mutex be created or are we attaching to an
existing on. Default is |
# Create a boost.mutex object with default resource name and no timeout.
x = boost.mutex()
rm(x)
gc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.