vibe.d beta banner
get vibe.d
0.7.30

Alias InterruptibleTaskReadWriteMutex.Policy

The policy with which the mutex should operate.

The policy determines how the acquisition of the locks is performed and can be used to tune the mutex according to the underlying algorithm in which it is used.

According to the provided policy, the mutex will either favor reading or writing tasks and could potentially starve the respective opposite.

cf. core.sync.rwmutex.ReadWriteMutex.Policy

Declaration

class InterruptibleTaskReadWriteMutex
{
  // ...
  alias Policy = vibe.core.sync.ReadWriteMutexState!(true);
  // ...
}
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License