You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
			
		
		
	
	
			17 lines
		
	
	
		
			456 B
		
	
	
	
		
			C++
		
	
| #include "./bellringer.h"
 | |
| 
 | |
| #include "../interrupt/guard.h"
 | |
| 
 | |
| // check: Checks whether bells are running out of time and rings them if
 | |
| // necessary
 | |
| void Bellringer::check(Vault &vault) { (void)vault; }
 | |
| 
 | |
| // job: Give a bell to the bellringer & ring it when the specified time ran out.
 | |
| void Bellringer::sleep(Vault &vault, unsigned int ms) {
 | |
|   (void)vault;
 | |
|   (void)ms;
 | |
| }
 | |
| 
 | |
| // Are there bells in the queue?
 | |
| bool Bellringer::bellPending() const { return false; }
 |