Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  spinlock.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0

#include <linux/spinlock.h>

void rust_helper___spin_lock_init(spinlock_t *lock, const char *name,
      struct lock_class_key *key)
{
#ifdef CONFIG_DEBUG_SPINLOCK
if defined(CONFIG_PREEMPT_RT)
 __spin_lock_init(lock, name, key, false);
else /*!CONFIG_PREEMPT_RT */
 __raw_spin_lock_init(spinlock_check(lock), name, key, LD_WAIT_CONFIG);
endif /* CONFIG_PREEMPT_RT */
#else /* !CONFIG_DEBUG_SPINLOCK */
 spin_lock_init(lock);
#endif /* CONFIG_DEBUG_SPINLOCK */
}

void rust_helper_spin_lock(spinlock_t *lock)
{
 spin_lock(lock);
}

void rust_helper_spin_unlock(spinlock_t *lock)
{
 spin_unlock(lock);
}

int rust_helper_spin_trylock(spinlock_t *lock)
{
 return spin_trylock(lock);
}

void rust_helper_spin_assert_is_held(spinlock_t *lock)
{
 lockdep_assert_held(lock);
}

Messung V0.5
C=94 H=97 G=95

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge