Set the permission bit mask for the underlying named pipe.

Synopsis

Declared in <balb_pipecontrolchannel.h>

void
setPermissions(int permissions);

Description

Set the permission bit mask for the underlying named pipe to the specified permissions value. The behavior is undefined unless bdls::FilePermissions::isValidBaseBits(permissions). This setting only takes effect on the next call to start; calling this method has no effect on a pipe that has already been opened. See the class‐level documentation for a description of the cross‐platform semantics. The behavior is undefined if this method is called while the background thread is running (i.e., after start and before shutdown), or if the permissions value is not valid.

Parameters

Name

Description

permissions

permission bit mask for the named pipe

Created with MrDocs