• Navigation überspringen
  • Zur Navigation
  • Zum Seitenende
Organisationsmenü öffnen Organisationsmenü schließen
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
  • FAUZur zentralen FAU Website
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Suche öffnen
  • English
  • Campo
  • StudOn
  • FAUdir
  • Stellenangebote
  • Lageplan
  • Hilfe im Notfall
  1. Friedrich-Alexander-Universität
  2. Technische Fakultät
  3. Department Informatik
Friedrich-Alexander-Universität Lehrstuhl für Informatik 4 (Systemsoftware)
Menu Menu schließen
  • Lehrstuhl
    • Team
    • Aktuelles
    • Kontakt und Anfahrt
    • Leitbild
    • 50-jähriges Jubiläum
    Portal Lehrstuhl
  • Forschung
    • Forschungsbereiche
      • Betriebssysteme
      • Confidential Computing
      • Eingebettete Systemsoftware
      • Verteilte Systeme
    • Projekte
      • AIMBOS
      • BALu
      • BFT2Chain
      • DOSS
      • Mirador
      • NEON
      • PAVE
      • ResPECT
      • Watwa
    • Projektkampagnen
      • maRE
    • Seminar
      • Systemsoftware
    Portal Forschung
  • Publikationen
  • Lehre
    • Sommersemester 2025
      • Applied Software Architecture
      • Ausgewählte Kapitel der Systemsoftware
      • Betriebssystemtechnik
      • Projekt angewandte Systemsoftwaretechnik
      • System-Level Programming
      • Systemnahe Programmierung in C
      • Systemprogrammierung 1
      • Verteilte Systeme
    • Wintersemester 2024/25
      • Betriebssysteme
      • Middleware – Cloud Computing
      • Systemprogrammierung 2
      • Verlässliche Echtzeitsysteme
      • Virtuelle Maschinen
      • Web-basierte Systeme
    Portal Lehre
  • Examensarbeiten
  1. Startseite
  2. Extern

Extern

Bereichsnavigation: Lehre
  • Betriebssysteme
    • Vorlesung
      • Folien
    • Übung
      • Seminar
      • Aufgaben
      • Aufgabe 0: C++ Streams
        • Aufgabe 1: Ein-/Ausgabe
          • Aufgabe 2: Unterbrechungen
            • Aufgabe 3: Pro-/Epilog
              • Aufgabe 4: Kontextwechsel
                • Aufgabe 5: Zeitscheiben
                  • Aufgabe 6: Synchronisation
                    • Aufgabe 7: Anwendung
                      • Assembler Crashkurs
                        • C++ Crashkurs
                          • Entwicklungsumgebung
                            • FAQ
                              • Ruhmeshalle
                              • Evaluation

                              Aufgabe 7: Anwendung

                              Public Member Functions | Static Public Member Functions | List of all members
                              GuardedBell Class Reference

                              Guarded interface to Bell objects used by user applications. More...

                              #include <syscall/guarded_bell.h>

                              + Inheritance diagram for GuardedBell:
                              [legend]
                              + Collaboration diagram for GuardedBell:
                              [legend]

                              Public Member Functions

                              unsigned int residual ()
                               Returns the residual waiting time. More...
                               
                              void set (unsigned int ms)
                               Set the bell's waiting time. More...
                               
                              void sleep ()
                               Sleep until the bell rings. More...
                               

                              Static Public Member Functions

                              static void sleep (unsigned int ms)
                               Sleep until the bell rings. More...
                               

                              Detailed Description

                              Guarded interface to Bell objects used by user applications.

                              Implements the system call interface for class Bell. All methods provided by this class are wrappers for the respective method from the base class, which provide additional synchronization by using the class Guarded.

                              Member Function Documentation

                              static void GuardedBell::sleep ( unsigned int  ms)
                              inlinestatic

                              Sleep until the bell rings.

                              The bell needs to be configured via Bell::set() prior to calling this method and should not have rung already. (see Bell::residual()).

                              Optional:
                              Implement Method
                              Note
                              This method is equal to the correspondent method in base class Bell, with the only difference that the call will be protected by a Guarded object.
                              unsigned int GuardedBell::residual ( )
                              inline

                              Returns the residual waiting time.

                              Will use Bellringer::residual().

                              Returns
                              Time in milliseconds until the bell rings
                              Optional:
                              Implement Method
                              Note
                              This method is equal to the correspondent method in base class Bell, with the only difference that the call will be protected by a Guarded object.
                              Optional:
                              Implement method
                              void GuardedBell::set ( unsigned int  ms)
                              inline

                              Set the bell's waiting time.

                              This method can be used to set the desired waiting time.

                              Parameters
                              msTime in milliseconds; will be passed to Bellringer::job()
                              Optional:
                              Implement Method
                              Note
                              This method is equal to the correspondent method in base class Bell, with the only difference that the call will be protected by a Guarded object.
                              void GuardedBell::sleep ( )
                              inline

                              Sleep until the bell rings.

                              The bell needs to be configured via Bell::set() prior to calling this method and should not have rung already. (see Bell::residual()).

                              Optional:
                              Implement Method
                              Note
                              This method is equal to the correspondent method in base class Bell, with the only difference that the call will be protected by a Guarded object.

                              The documentation for this class was generated from the following file:
                              • syscall/guarded_bell.h
                              Friedrich-Alexander-Universität
                              Erlangen-Nürnberg

                              Schlossplatz 4
                              91054 Erlangen
                              • Impressum
                              • Datenschutz
                              • Barrierefreiheit
                              • Facebook
                              • RSS Feed
                              • Xing
                              Nach oben