// Copyright 2016 Amanieu d'Antras // // Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or // http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or // http://opensource.org/licenses/MIT>, at your option. This file may not be // copied, modified, or distributed except according to those terms.
usecrate::raw_mutex::RawMutex; use lock_api::RawMutexFair;
/// Raw fair mutex type backed by the parking lot. pubstruct RawFairMutex(RawMutex);
unsafeimpl lock_api::RawMutex for RawFairMutex { const INIT: Self = RawFairMutex(<RawMutex as lock_api::RawMutex>::INIT);
type GuardMarker = <RawMutex as lock_api::RawMutex>::GuardMarker;
unsafeimpl lock_api::RawMutexTimed for RawFairMutex { type Duration = <RawMutex as lock_api::RawMutexTimed>::Duration; type Instant = <RawMutex as lock_api::RawMutexTimed>::Instant;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.