forked from Bananymous/banan-os
				
			Kernel: Remove SpinLock from Pipe
Pipe already is using lock on the inode. If you read from pipe when there was no data, pipe blocked indefinately since writes were blocked by Inode::m_lock.
This commit is contained in:
		
							parent
							
								
									de629291b9
								
							
						
					
					
						commit
						f73e954b28
					
				| 
						 | 
					@ -48,7 +48,6 @@ namespace Kernel
 | 
				
			||||||
		timespec m_mtime {};
 | 
							timespec m_mtime {};
 | 
				
			||||||
		timespec m_ctime {};
 | 
							timespec m_ctime {};
 | 
				
			||||||
		BAN::Vector<uint8_t> m_buffer;
 | 
							BAN::Vector<uint8_t> m_buffer;
 | 
				
			||||||
		SpinLock m_lock;
 | 
					 | 
				
			||||||
		Semaphore m_semaphore;
 | 
							Semaphore m_semaphore;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		uint32_t m_writing_count { 1 };
 | 
							uint32_t m_writing_count { 1 };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue