ui/vnc: Remove vnc_stop_worker_thread()
This function is not used anymore, let's remove it. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
		
							parent
							
								
									b67072f0ab
								
							
						
					
					
						commit
						09526058d0
					
				|  | @ -342,16 +342,3 @@ void vnc_start_worker_thread(void) | |||
|                        QEMU_THREAD_DETACHED); | ||||
|     queue = q; /* Set global queue */ | ||||
| } | ||||
| 
 | ||||
| void vnc_stop_worker_thread(void) | ||||
| { | ||||
|     if (!vnc_worker_thread_running()) | ||||
|         return ; | ||||
| 
 | ||||
|     /* Remove all jobs and wake up the thread */ | ||||
|     vnc_lock_queue(queue); | ||||
|     queue->exit = true; | ||||
|     vnc_unlock_queue(queue); | ||||
|     vnc_jobs_clear(NULL); | ||||
|     qemu_cond_broadcast(&queue->cond); | ||||
| } | ||||
|  |  | |||
|  | @ -40,7 +40,6 @@ void vnc_jobs_join(VncState *vs); | |||
| 
 | ||||
| void vnc_jobs_consume_buffer(VncState *vs); | ||||
| void vnc_start_worker_thread(void); | ||||
| void vnc_stop_worker_thread(void); | ||||
| 
 | ||||
| /* Locks */ | ||||
| static inline int vnc_trylock_display(VncDisplay *vd) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Thomas Huth
						Thomas Huth