mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pipewire: module-rt: move RLIMIT_RTTIME compat definition
				
					
				
			Move it next to the other macros.
This commit is contained in:
		
							parent
							
								
									f0579b9b67
								
							
						
					
					
						commit
						10161407ff
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -142,6 +142,10 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
 | 
			
		|||
#define SCHED_RESET_ON_FORK 0
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef RLIMIT_RTTIME
 | 
			
		||||
#define RLIMIT_RTTIME 15
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define MIN_NICE_LEVEL		-20
 | 
			
		||||
#define MAX_NICE_LEVEL		19
 | 
			
		||||
#define IS_VALID_NICE_LEVEL(l)	((l)>=MIN_NICE_LEVEL && (l)<=MAX_NICE_LEVEL)
 | 
			
		||||
| 
						 | 
				
			
			@ -239,10 +243,6 @@ struct impl {
 | 
			
		|||
#endif
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#ifndef RLIMIT_RTTIME
 | 
			
		||||
#define RLIMIT_RTTIME 15
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
static pthread_mutex_t rlimit_lock = PTHREAD_MUTEX_INITIALIZER;
 | 
			
		||||
 | 
			
		||||
static pid_t _gettid(void)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue