473f0f75a1 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix race when func rets holder is NULL  
							
							If ret is NULL, a dummy common holder is created to hold *all* the
parallel function returns, which gets written concurrently. This commit
simplify the whole logic by simply not writing to that holder when not
set. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								29c2d06d67 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Drop empty comment lines  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17d41220d8 
								
							
								 
							
						 
						
							
							
								
								lavfi/pthread: fix perameters/parameters typo  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a362015641 
								
							
								 
							
						 
						
							
							
								
								lavc,lavfi: use avutil/thread.h instead of redundant conditional includes  
							
							This was somehow forgotten in a8bb81a05c 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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