658f5d1f63 
								
							
								 
							
						 
						
							
							
								
								avfilter/pthread: Use av_mallocz_array()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								692b930904 
								
							
								 
							
						 
						
							
							
								
								lavfi/pthread: Avoid crashes/odd behavior caused by spurious wakeups  
							
							This is similar to 5152196b2b 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3511d4fc97 
								
							
								 
							
						 
						
							
							
								
								pthread: Avoid crashes/odd behavior caused by spurious wakeups  
							
							This is similar to 5152196b2b 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb90a2091f 
								
							
								 
							
						 
						
							
							
								
								pthread: Fix deadlock during thread initialization  
							
							Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.
Don't call pthread_cond_wait() if c->done is set.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0767bfd199 
								
							
								 
							
						 
						
							
							
								
								lavfi: allow user-provided execute() callbacks  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50612484e0 
								
							
								 
							
						 
						
							
							
								
								pthread: Rename thread_init to avoid symbol collision  
							
							The AIX threads library exposes a function with the same name.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								674d8a9629 
								
							
								 
							
						 
						
							
							
								
								Rename thread_init() in libavcodec and libavfilter as library_thread_init().  
							
							The aix header sys/thread.h contains a definition for thread_init(). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e615a77799 
								
							
								 
							
						 
						
							
							
								
								os2threads: move from lavc to compat/  
							
							For useage in other places besides lavc. Needed after commit
90f9a5830b 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4cf7b87551 
								
							
								 
							
						 
						
							
							
								
								av_cpu_count: factorize "detected %d logical cores" message  
							
							Also print the message just once
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								129bb23843 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a slice threading infrastructure  
							
							Mostly based on libavcodec's 
							
						 
						12 years ago